parent
dd994619f4
commit
75f5cc68e4
|
@ -209,8 +209,16 @@ public abstract class HttpServerTestBase extends HttpServerTestFixture
|
||||||
byte[] buffer = new byte[64 * 1024];
|
byte[] buffer = new byte[64 * 1024];
|
||||||
Arrays.fill(buffer, (byte)'A');
|
Arrays.fill(buffer, (byte)'A');
|
||||||
|
|
||||||
os.write(buffer);
|
try
|
||||||
os.flush();
|
{
|
||||||
|
os.write(buffer);
|
||||||
|
os.flush();
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
if (LOG.isDebugEnabled())
|
||||||
|
LOG.debug("write exception", e);
|
||||||
|
}
|
||||||
|
|
||||||
// Read the response.
|
// Read the response.
|
||||||
String response = readResponse(client);
|
String response = readResponse(client);
|
||||||
|
|
Loading…
Reference in New Issue