Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 924:5c9cb5d00512
remove isContinuation()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 18:21:39 -0600 |
parents | a5af9ee7cf91 |
children | 23a57aad34c0 |
comparison
equal
deleted
inserted
replaced
923:52d8b5c29d8e | 924:5c9cb5d00512 |
---|---|
414 // already happened when unhandle is called. For a blocking connector, | 414 // already happened when unhandle is called. For a blocking connector, |
415 // the wait for the asynchronous dispatch or timeout actually happens | 415 // the wait for the asynchronous dispatch or timeout actually happens |
416 // within the call to unhandle(). | 416 // within the call to unhandle(). |
417 | 417 |
418 final Server server=_server; | 418 final Server server=_server; |
419 boolean was_continuation=_request._async.isContinuation(); | |
420 boolean handling=_request._async.handling() && server!=null && server.isRunning(); | 419 boolean handling=_request._async.handling() && server!=null && server.isRunning(); |
421 while (handling) | 420 while (handling) |
422 { | 421 { |
423 _request.setHandled(false); | 422 _request.setHandled(false); |
424 | 423 |
503 _generator.sendError(info==null?400:500, null, null, true); | 502 _generator.sendError(info==null?400:500, null, null, true); |
504 | 503 |
505 } | 504 } |
506 finally | 505 finally |
507 { | 506 { |
508 was_continuation=_request._async.isContinuation(); | |
509 handling = !_request._async.unhandle() && server.isRunning() && _server!=null; | 507 handling = !_request._async.unhandle() && server.isRunning() && _server!=null; |
510 } | 508 } |
511 } | 509 } |
512 } | 510 } |
513 finally | 511 finally |