diff src/org/eclipse/jetty/server/Server.java @ 975:53b3f7d9714c

simplify BlockingChannelConnector
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 01:10:02 -0600
parents 3191abe890ef
children af8742d31bca
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Server.java	Sat Oct 15 23:27:08 2016 -0600
+++ b/src/org/eclipse/jetty/server/Server.java	Sun Oct 16 01:10:02 2016 -0600
@@ -34,6 +34,7 @@
 
 import org.eclipse.jetty.http.HttpURI;
 import org.eclipse.jetty.server.handler.HandlerWrapper;
+import org.eclipse.jetty.server.nio.BlockingChannelConnector;
 import org.eclipse.jetty.server.nio.SelectChannelConnector;
 import org.eclipse.jetty.util.Attributes;
 import org.eclipse.jetty.util.AttributesMap;
@@ -73,7 +74,8 @@
 	public Server(int port)
 	{
 		setServer(this);
-		new SelectChannelConnector(this,port);
+//		new SelectChannelConnector(this,port);
+		new BlockingChannelConnector(this,port);
 	}
 
 	@Override