Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove assertions and properly handle send/recv errors #6

Open
robgjansen opened this issue May 15, 2015 · 0 comments
Open

Remove assertions and properly handle send/recv errors #6

robgjansen opened this issue May 15, 2015 · 0 comments
Labels
enhancement New feature or request

Comments

@robgjansen
Copy link
Member

The TGen plugin has several send/recv assertions when setting up a SOCKS connection. It is possible that the socket closed or has some other error, even during the setup phase, and these assertions would cause the program to abort in this case. We should properly handle the return vals from send/recv instead of asserting that the amount we tried to send/recv actually got sent/recved.

@sporksmith sporksmith transferred this issue from shadow/shadow Apr 22, 2020
@robgjansen robgjansen added the enhancement New feature or request label Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant