diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 921:a5af9ee7cf91

remove isExpired()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 18:09:50 -0600
parents 3268ddf919d4
children 5c9cb5d00512
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 09 03:51:31 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 09 18:09:50 2016 -0600
@@ -463,16 +463,7 @@
 					}
 					else
 					{
-						if (_request._async.isExpired()&&!was_continuation)
-						{
-							async_exception = (Throwable)_request.getAttribute(RequestDispatcher.ERROR_EXCEPTION);
-							_response.setStatus(500,async_exception==null?"Async Timeout":"Async Exception");
-							_request.setAttribute(RequestDispatcher.ERROR_STATUS_CODE,new Integer(500));
-							_request.setAttribute(RequestDispatcher.ERROR_MESSAGE, _response.getReason());
-							_request.setDispatcherType(DispatcherType.ERROR);
-						}
-						else
-							_request.setDispatcherType(DispatcherType.ASYNC);
+						_request.setDispatcherType(DispatcherType.ASYNC);
 						server.handleAsync(this);
 					}
 				}