Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 928:23a57aad34c0
remove isAsync()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 18:54:32 -0600 |
parents | 5c9cb5d00512 |
children | 3191abe890ef |
comparison
equal
deleted
inserted
replaced
927:1c1c350fbe4b | 928:23a57aad34c0 |
---|---|
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 handling=_request._async.handling() && server!=null && server.isRunning(); | 419 boolean handling = _request._async.handling() && server!=null && server.isRunning(); |
420 while (handling) | 420 if(handling) |
421 { | 421 { |
422 _request.setHandled(false); | 422 _request.setHandled(false); |
423 | 423 |
424 String info=null; | 424 String info=null; |
425 try | 425 try |
502 _generator.sendError(info==null?400:500, null, null, true); | 502 _generator.sendError(info==null?400:500, null, null, true); |
503 | 503 |
504 } | 504 } |
505 finally | 505 finally |
506 { | 506 { |
507 handling = !_request._async.unhandle() && server.isRunning() && _server!=null; | 507 _request._async.unhandle(); |
508 } | 508 } |
509 } | 509 } |
510 } | 510 } |
511 finally | 511 finally |
512 { | 512 { |