jetty-9 improved SSL shutdown input

This commit is contained in:
Greg Wilkins 2012-08-24 17:58:52 +10:00
parent c707ba11d1
commit 112ee65dcc
3 changed files with 3 additions and 3 deletions

View File

@ -505,7 +505,10 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
{
// If no more input
if (getEndPoint().isInputShutdown())
{
_parser.inputShutdown();
return;
}
// Wait until we can read
FutureCallback<Void> block=new FutureCallback<>();

View File

@ -242,7 +242,6 @@ public class HttpInput extends ServletInputStream
try
{
System.err.println("consume block");
blockForContent();
}
catch(IOException e)

View File

@ -923,9 +923,7 @@ public class SslBytesServerTest extends SslBytesTest
Assert.assertThat(sslFlushes.get(), Matchers.lessThan(20));
Assert.assertThat(httpParses.get(), Matchers.lessThan(50));
System.err.println("--");
client.close();
System.err.println("==");
}
@Test