comparison 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
comparison
equal deleted inserted replaced
1000:32d4b569567c 1001:39154cfa58e4
32 import org.eclipse.jetty.io.nio.SelectorManager; 32 import org.eclipse.jetty.io.nio.SelectorManager;
33 import org.eclipse.jetty.server.AsyncHttpConnection; 33 import org.eclipse.jetty.server.AsyncHttpConnection;
34 import org.eclipse.jetty.server.Connector; 34 import org.eclipse.jetty.server.Connector;
35 import org.eclipse.jetty.server.Request; 35 import org.eclipse.jetty.server.Request;
36 import org.eclipse.jetty.server.Server; 36 import org.eclipse.jetty.server.Server;
37 import org.eclipse.jetty.server.AbstractHttpConnection;
37 38
38 /* ------------------------------------------------------------------------------- */ 39 /* ------------------------------------------------------------------------------- */
39 /** 40 /**
40 * Selecting NIO connector. 41 * Selecting NIO connector.
41 * <p> 42 * <p>
76 }}); 77 }});
77 } 78 }
78 } 79 }
79 80
80 @Override 81 @Override
81 public void customize(EndPoint endpoint, Request request) throws IOException 82 public void customize(AbstractHttpConnection con) throws IOException
82 { 83 {
83 request.setTimeStamp(System.currentTimeMillis()); 84 con._endp.setMaxIdleTime(_maxIdleTime);
84 endpoint.setMaxIdleTime(_maxIdleTime);
85 } 85 }
86 86
87 @Override 87 @Override
88 protected synchronized void doStart() throws Exception 88 protected synchronized void doStart() throws Exception
89 { 89 {