public static final byte LC_OFFSET = A - a;
- /**
- * Default HTTP header buffer size.
- */
- public static final int DEFAULT_HTTP_HEADER_BUFFER_SIZE = 48 * 1024;
-
-
/* Various constant "strings" */
public static final String CONNECTION = "Connection";
public static final String CLOSE = "close";
public void testFlushingWithGzip() throws Exception {
// set up response, InternalOutputBuffer, and ByteArrayOutputStream
Response res = new Response();
- InternalOutputBuffer iob = new InternalOutputBuffer(res,
- Constants.DEFAULT_HTTP_HEADER_BUFFER_SIZE);
+ InternalOutputBuffer iob = new InternalOutputBuffer(res, 8 * 1024);
ByteArrayOutputStream bos = new ByteArrayOutputStream();
iob.setOutputStream(bos);
res.setOutputBuffer(iob);