diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 1001:39154cfa58e4

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 22 Oct 2016 20:56:41 -0600
parents 74b9daf2826c
children 0e96ce3db20a
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Wed Oct 19 04:22:51 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sat Oct 22 20:56:41 2016 -0600
@@ -92,15 +92,13 @@
 {
 	private static final Logger LOG = LoggerFactory.getLogger(AbstractHttpConnection.class);
 
-	private int _requests;
-
 	private final Connector _connector;
 	private final Server _server;
 	protected final HttpURI _uri = StringUtil.__UTF8.equals(URIUtil.__CHARSET)?new HttpURI():new EncodedHttpURI(URIUtil.__CHARSET);
 
 	protected final HttpParser _parser;
 	protected final HttpFields _requestFields = new HttpFields();
-	private final Request _request;
+	public final Request _request;
 	private volatile ServletInputStream _in;
 
 	protected final HttpGenerator _generator;
@@ -289,7 +287,7 @@
 				if (_out!=null)
 					_out.reopen();
 
-				_connector.customize(_endp, _request);
+				_connector.customize(this);
 				_server.handle(this);
 			}
 			catch (EofException e)
@@ -443,11 +441,10 @@
 	@Override
 	public String toString()
 	{
-		return String.format("%s,g=%s,p=%s,r=%d",
+		return String.format("%s,g=%s,p=%s",
 				super.toString(),
 				_generator,
-				_parser,
-				_requests);
+				_parser);
 	}
 
 	private void startRequest(Buffer method, Buffer uri, Buffer version) throws IOException
@@ -574,7 +571,6 @@
 			return;
 		}
 		
-		_requests++;
 		_generator.setVersion(_version);
 		switch (_version)
 		{