mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-01 11:29:29 +00:00
Issue #1317 cleanup
This commit is contained in:
parent
6b83a6c0a6
commit
e4028fa4d4
@ -134,6 +134,7 @@ public class AsyncProxyServlet extends ProxyServlet
|
||||
private final Request proxyRequest;
|
||||
private final DeferredContentProvider provider;
|
||||
|
||||
|
||||
protected StreamReader(HttpServletRequest request, HttpServletResponse response, Request proxyRequest, DeferredContentProvider provider)
|
||||
{
|
||||
this.request = request;
|
||||
|
@ -1252,7 +1252,7 @@ public class AsyncIOServletTest extends AbstractTest
|
||||
@Override
|
||||
public void onDataAvailable() throws IOException
|
||||
{
|
||||
while (input.isReady() && !input.isFinished())
|
||||
while (input.isReady())
|
||||
{
|
||||
int b = input.read();
|
||||
if (b>0)
|
||||
@ -1260,8 +1260,8 @@ public class AsyncIOServletTest extends AbstractTest
|
||||
// System.err.printf("0x%2x %s %n", b, Character.isISOControl(b)?"?":(""+(char)b));
|
||||
out.write(b);
|
||||
}
|
||||
else
|
||||
onAllDataRead();
|
||||
else if (b<0)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user