comparison 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
comparison
equal deleted inserted replaced
920:3268ddf919d4 921:a5af9ee7cf91
461 _connector.customize(_endp, _request); 461 _connector.customize(_endp, _request);
462 server.handle(this); 462 server.handle(this);
463 } 463 }
464 else 464 else
465 { 465 {
466 if (_request._async.isExpired()&&!was_continuation) 466 _request.setDispatcherType(DispatcherType.ASYNC);
467 {
468 async_exception = (Throwable)_request.getAttribute(RequestDispatcher.ERROR_EXCEPTION);
469 _response.setStatus(500,async_exception==null?"Async Timeout":"Async Exception");
470 _request.setAttribute(RequestDispatcher.ERROR_STATUS_CODE,new Integer(500));
471 _request.setAttribute(RequestDispatcher.ERROR_MESSAGE, _response.getReason());
472 _request.setDispatcherType(DispatcherType.ERROR);
473 }
474 else
475 _request.setDispatcherType(DispatcherType.ASYNC);
476 server.handleAsync(this); 467 server.handleAsync(this);
477 } 468 }
478 } 469 }
479 catch (ContinuationThrowable e) 470 catch (ContinuationThrowable e)
480 { 471 {