diff src/org/eclipse/jetty/server/AsyncHttpConnection.java @ 978:bdb6eb0fbf93

simplify ChannelEndPoint
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 14:53:43 -0600
parents d35b0a3a7a4a
children 21910079096e
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Sun Oct 16 01:31:05 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Sun Oct 16 14:53:43 2016 -0600
@@ -145,7 +145,7 @@
 				{
 					LOG.warn("Closing EndPoint making no progress: "+_total_no_progress+" "+_endp+" "+this);
 					if (_endp instanceof SelectChannelEndPoint)
-						((SelectChannelEndPoint)_endp).getChannel().close();
+						_endp.getChannel().close();
 				}
 			}
 		}