comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 920:3268ddf919d4

remove AsyncContinuation.isAsyncStarted()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 03:51:31 -0600
parents 17f4fe8271de
children a5af9ee7cf91
comparison
equal deleted inserted replaced
919:dd6b1f079634 920:3268ddf919d4
512 _generator.sendError(info==null?400:500, null, null, true); 512 _generator.sendError(info==null?400:500, null, null, true);
513 513
514 } 514 }
515 finally 515 finally
516 { 516 {
517 // Complete async requests
518 if (error && _request.isAsyncStarted())
519 _request.getAsyncContinuation().errorComplete();
520
521 was_continuation=_request._async.isContinuation(); 517 was_continuation=_request._async.isContinuation();
522 handling = !_request._async.unhandle() && server.isRunning() && _server!=null; 518 handling = !_request._async.unhandle() && server.isRunning() && _server!=null;
523 } 519 }
524 } 520 }
525 } 521 }