comparison src/org/eclipse/jetty/server/AsyncHttpConnection.java @ 928:23a57aad34c0

remove isAsync()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 18:54:32 -0600
parents 3268ddf919d4
children fe461f7cfc8e
comparison
equal deleted inserted replaced
927:1c1c350fbe4b 928:23a57aad34c0
70 while (progress && connection==this) 70 while (progress && connection==this)
71 { 71 {
72 progress=false; 72 progress=false;
73 try 73 try
74 { 74 {
75 // Handle resumed request 75 // Parse more input
76 if (_request._async.isAsync()) 76 if (!_parser.isComplete() && _parser.parseAvailable())
77 {
78 if (_request._async.isDispatchable())
79 handleRequest();
80 }
81 // else Parse more input
82 else if (!_parser.isComplete() && _parser.parseAvailable())
83 progress=true; 77 progress=true;
84 78
85 // Generate more output 79 // Generate more output
86 if (_generator.isCommitted() && !_generator.isComplete() && !_endp.isOutputShutdown()) 80 if (_generator.isCommitted() && !_generator.isComplete() && !_endp.isOutputShutdown())
87 if (_generator.flushBuffer()>0) 81 if (_generator.flushBuffer()>0)