388652 Do not flush on handle return if request is suspended

This commit is contained in:
Greg Wilkins 2012-09-03 10:57:58 +10:00
parent 842f30fb87
commit a922d44ce0
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class AsyncHttpConnection extends AbstractHttpConnection implements Async
progress=true;
// Generate more output
if (_generator.isCommitted() && !_generator.isComplete() && !_endp.isOutputShutdown())
if (_generator.isCommitted() && !_generator.isComplete() && !_endp.isOutputShutdown() && !_request.getAsyncContinuation().isAsyncStarted())
if (_generator.flushBuffer()>0)
progress=true;