jetty-9 improved SSL shutdown input
This commit is contained in:
parent
c707ba11d1
commit
112ee65dcc
|
@ -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<>();
|
||||
|
|
|
@ -242,7 +242,6 @@ public class HttpInput extends ServletInputStream
|
|||
|
||||
try
|
||||
{
|
||||
System.err.println("consume block");
|
||||
blockForContent();
|
||||
}
|
||||
catch(IOException e)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue