Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x

This commit is contained in:
Greg Wilkins 2022-05-01 09:06:01 +02:00
commit 67dbe035c0
1 changed files with 10 additions and 2 deletions

View File

@ -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);