kainjow opened a new pull request #2440:
URL: https://github.com/apache/thrift/pull/2440


   TSocketServer sets up many socket options, but unlike TSocket, it doesn't 
disable SIGPIPE.
   
   One example for how this can be triggered is the server receives a request, 
but takes too long to process it. The sender then times out, and potentially 
closes its sockets. The server then completes the request, and then attempts to 
write back the result. Since the socket is now closed, a SIGPIPE signal is sent 
to the process, and if that signal isn't ignored, the process would crash, with 
a potential -13 exit code.


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@thrift.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to