Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/nio/SelectChannelConnector.java @ 1001:39154cfa58e4
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 22 Oct 2016 20:56:41 -0600 |
parents | d9cfec64899c |
children |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java Wed Oct 19 04:22:51 2016 -0600 +++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java Sat Oct 22 20:56:41 2016 -0600 @@ -34,6 +34,7 @@ import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Server; +import org.eclipse.jetty.server.AbstractHttpConnection; /* ------------------------------------------------------------------------------- */ /** @@ -78,10 +79,9 @@ } @Override - public void customize(EndPoint endpoint, Request request) throws IOException + public void customize(AbstractHttpConnection con) throws IOException { - request.setTimeStamp(System.currentTimeMillis()); - endpoint.setMaxIdleTime(_maxIdleTime); + con._endp.setMaxIdleTime(_maxIdleTime); } @Override