The previous code to block the socket from receiving on that pipe during a…
The previous code to block the socket from receiving on that pipe during a disconnect was vulnerable to a race condition. This code calls with the terminate functions of both ends of the pipe - I believe this should be safer. This required storing a pointer to the socket end of the pipe
Showing
Please
register
or
sign in
to comment