tgen icon indicating copy to clipboard operation
tgen copied to clipboard

Remove assertions and properly handle send/recv errors

Open robgjansen opened this issue 9 years ago • 0 comments

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.

robgjansen avatar May 15 '15 15:05 robgjansen