434074 Avoid double dispatch by returning false from messageComplete
This commit is contained in:
parent
894fb6bfc0
commit
0abda0f35a
|
@ -478,6 +478,14 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
|
||||||
{
|
{
|
||||||
getEndPoint().shutdownOutput();
|
getEndPoint().shutdownOutput();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean messageComplete()
|
||||||
|
{
|
||||||
|
super.messageComplete();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class CommitCallback extends IteratingCallback
|
private class CommitCallback extends IteratingCallback
|
||||||
|
|
|
@ -93,7 +93,6 @@ public class SlowClientWithPipelinedRequestTest
|
||||||
throws IOException, ServletException
|
throws IOException, ServletException
|
||||||
{
|
{
|
||||||
baseRequest.setHandled(true);
|
baseRequest.setHandled(true);
|
||||||
System.err.println("target = " + target);
|
|
||||||
if ("/content".equals(target))
|
if ("/content".equals(target))
|
||||||
{
|
{
|
||||||
// We simulate what the DefaultServlet does, bypassing the blocking
|
// We simulate what the DefaultServlet does, bypassing the blocking
|
||||||
|
|
|
@ -73,7 +73,6 @@ public class ContextHandlerGetResourceTest
|
||||||
other.createNewFile();
|
other.createNewFile();
|
||||||
|
|
||||||
File transit = new File(docroot.getParentFile(),"transit");
|
File transit = new File(docroot.getParentFile(),"transit");
|
||||||
System.err.println("transit "+transit);
|
|
||||||
transit.delete();
|
transit.delete();
|
||||||
|
|
||||||
if (OS.IS_UNIX)
|
if (OS.IS_UNIX)
|
||||||
|
|
|
@ -157,6 +157,13 @@ public class HttpChannelOverSPDY extends HttpChannel<DataInfo>
|
||||||
dispatch();
|
dispatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean messageComplete()
|
||||||
|
{
|
||||||
|
super.messageComplete();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private boolean performBeginRequest(Fields headers)
|
private boolean performBeginRequest(Fields headers)
|
||||||
{
|
{
|
||||||
short version = stream.getSession().getVersion();
|
short version = stream.getSession().getVersion();
|
||||||
|
|
Loading…
Reference in New Issue