zeshuai007 commented on pull request #2211:
URL: https://github.com/apache/thrift/pull/2211#issuecomment-675805857
// Verify that we can actually read from the remote host
if (mode & WAIT_MODE_C && FD_ISSET(*sock, &rfds) &&
recv(*sock, (char*) &rfds, 0, 0) != 0) {
return errno;
}
After testing, it seems that only the socket_acceptfunction will fail in
this judgment. Is it better to only let the socket_accept function not enter
this judgment?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]