tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48470] Tomcat hangs while stoppping
Date Tue, 12 Jan 2010 01:19:32 GMT

--- Comment #6 from Konstantin Kolinko <> 2010-01-11 17:19:28
UTC ---
attachment 24827 patch looks good, though I have not tried to run it yet.

+1 to add "Socket unlock completed for:" debug message to AprEndpoint, like it
is done in JIoEndpoint.

Regarding s.setSoLinger(true, 0):
I see that NioEndpoint of TC6 and all endpoint implementations of TC7 use
 s.setSoLinger(getSocketProperties().getSoLingerOn(), ...)

The default value of soLingerOn is based on Constants.DEFAULT_CONNECTION_LINGER
constants (in o.a.coyote.http11 or in o.a.coyote.ajp) that is -1. Thus it will
be false.

I think that s.setSoLinger(true, 0) should be used in unlockAccept() for its
dummy connection in all implementations of endpoint. Though I have not tested

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message