diff src/org/eclipse/jetty/server/Connector.java @ 1008:b664624a4423

remove BuffersFactory
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Oct 2016 17:43:49 -0600
parents 945568ee77ac
children 4e7208df7741
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Connector.java	Sun Oct 23 17:40:20 2016 -0600
+++ b/src/org/eclipse/jetty/server/Connector.java	Sun Oct 23 17:43:49 2016 -0600
@@ -29,7 +29,7 @@
 import javax.servlet.ServletRequest;
 
 import org.eclipse.jetty.io.Buffers;
-import org.eclipse.jetty.io.BuffersFactory;
+import org.eclipse.jetty.io.PooledBuffers;
 import org.eclipse.jetty.io.EndPoint;
 import org.eclipse.jetty.io.EofException;
 import org.eclipse.jetty.util.component.AggregateLifeCycle;
@@ -251,8 +251,8 @@
 	private void startBuffers()
 		throws Exception
 	{
-		_requestBuffers = BuffersFactory.newBuffers(Buffers.Type.INDIRECT,_requestHeaderSize,_requestBufferType,_requestBufferSize,_maxBuffers);
-		_responseBuffers = BuffersFactory.newBuffers(Buffers.Type.INDIRECT,_responseHeaderSize,_responseBufferType,_responseBufferSize,_maxBuffers);
+		_requestBuffers = new PooledBuffers(Buffers.Type.INDIRECT,_requestHeaderSize,_requestBufferType,_requestBufferSize,_maxBuffers);
+		_responseBuffers = new PooledBuffers(Buffers.Type.INDIRECT,_responseHeaderSize,_responseBufferType,_responseBufferSize,_maxBuffers);
 		super.doStart();
 	}