rouazana commented on pull request #423:
URL: https://github.com/apache/james-project/pull/423#issuecomment-838381685


   > I wonder if that is necessary. With TCP if the connection is closed, we 
would get an error while sending the ping to the client, which should be enough 
for detection (unless the client is a kinda zombie accepting TCP connections 
but nothing else).
   
   It's a common case that middle network equipment drop connections instead of 
closing them. In this case, you won't get noticed unless you set correctly your 
timeouts (with is never the default unfortunately).
   
   There are several ways to reproduce this behavior if you want. Here are some 
examples:
   - configure iptables to drop tcp packets
   - contact a server (humm in your case it a client) and pause it with Ctrl-Z


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to