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();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean messageComplete()
|
||||
{
|
||||
super.messageComplete();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private class CommitCallback extends IteratingCallback
|
||||
|
|
|
@ -93,7 +93,6 @@ public class SlowClientWithPipelinedRequestTest
|
|||
throws IOException, ServletException
|
||||
{
|
||||
baseRequest.setHandled(true);
|
||||
System.err.println("target = " + target);
|
||||
if ("/content".equals(target))
|
||||
{
|
||||
// We simulate what the DefaultServlet does, bypassing the blocking
|
||||
|
|
|
@ -73,7 +73,6 @@ public class ContextHandlerGetResourceTest
|
|||
other.createNewFile();
|
||||
|
||||
File transit = new File(docroot.getParentFile(),"transit");
|
||||
System.err.println("transit "+transit);
|
||||
transit.delete();
|
||||
|
||||
if (OS.IS_UNIX)
|
||||
|
|
|
@ -156,6 +156,13 @@ public class HttpChannelOverSPDY extends HttpChannel<DataInfo>
|
|||
if (dispatch)
|
||||
dispatch();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean messageComplete()
|
||||
{
|
||||
super.messageComplete();
|
||||
return false;
|
||||
}
|
||||
|
||||
private boolean performBeginRequest(Fields headers)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue