JETTY-1003

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@198 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jan Bartel 2009-04-29 05:20:16 +00:00
parent a6c6ba30b3
commit 79edb1ebee
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@ jetty-7.0.0.M2-SNAPSHOT
+ JETTY-959 CGI servlet doesn't kill the CGI in case the client disconnects
+ JETTY-996 Make start-stop-daemon optional
+ 273767 Update to use geronimo annotations spec 1.1.1
+ JETTY-1003 java.lang.IllegalArgumentException: timeout can't be negative
jetty-7.0.0.M1 22 April 2009
+ 271258 FORM Authentication dispatch handling avoids caching

View File

@ -152,9 +152,10 @@ public class BlockingChannelConnector extends AbstractNIOConnector
{
if (getServer().getThreadPool().isLowOnThreads())
{
if (_sotimeout!=getLowResourceMaxIdleTime())
int lrmit = getLowResourceMaxIdleTime();
if (lrmit>=0 && _sotimeout!= lrmit)
{
_sotimeout=getLowResourceMaxIdleTime();
_sotimeout=lrmit;
((SocketChannel)getTransport()).socket().setSoTimeout(_sotimeout);
}
}