2014-04-24 15:38 GMT+04:00 <ma...@apache.org>: > Author: markt > Date: Thu Apr 24 11:38:13 2014 > New Revision: 1589672 > > URL: http://svn.apache.org/r1589672 > Log: > Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56416 > Align the AJP and HTTP connector implementations with the documented > behaviour and use JVM defaults for socket linger.
This needs either be reverted or some additional fixes. 1. There are the following methods in SocketProperties class: public boolean getSoLingerOn() { return soLingerOn.booleanValue(); } public int getSoLingerTime() { return soLingerTime.intValue(); } They do not work with those fields now being null (the default). 2. AbstractEndpoint,unlockAccept() s.setSoLinger(getSocketProperties().getSoLingerOn(),getSocketProperties().getSoLingerTime()); I expect the above call to be broken because of NPE. 3. It seems that APR connector is broken. Firefox fails to connect to http;//localhost:8080/ Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org