On Jun 30, 2006, at 9:04 PM, James-Usertunnel wrote:
I referenced many docs and other frameworks take QuickServer for
example. I found when server built on MINA restarted there were always
connections stuck in TIME_WAIT,FIN_WAIT1 or FIN_WAIT2 status no matter
whether the option reuse address is enabled. So I think it's a MINA's BUG right. Sorry to send a lot of e-mail to describe this situation, cause it's
very important to me which makes me can't restart server as quickly as
possible.

To eliminate TIME_WAIT, be sure to close the connection from the far end, where possible.

Otherwise, set SO_LINGER to 0, and you'll get forceful closes that skip those states.

-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to