Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
This commit is contained in:
commit
67dbe035c0
|
@ -209,8 +209,16 @@ public abstract class HttpServerTestBase extends HttpServerTestFixture
|
|||
byte[] buffer = new byte[64 * 1024];
|
||||
Arrays.fill(buffer, (byte)'A');
|
||||
|
||||
os.write(buffer);
|
||||
os.flush();
|
||||
try
|
||||
{
|
||||
os.write(buffer);
|
||||
os.flush();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("write exception", e);
|
||||
}
|
||||
|
||||
// Read the response.
|
||||
String response = readResponse(client);
|
||||
|
|
Loading…
Reference in New Issue