Index: net/http/http_stream_parser.cc |
=================================================================== |
--- net/http/http_stream_parser.cc (revision 98480) |
+++ net/http/http_stream_parser.cc (working copy) |
@@ -39,6 +39,12 @@ |
namespace net { |
+// static |
+const int HttpStreamParser::kHeaderBufInitialSize = 4 * 1024; // 4K |
+const int HttpStreamParser::kMaxHeaderBufSize = |
+ HttpStreamParser::kHeaderBufInitialSize * 64; // 256K |
+const int HttpStreamParser::kMaxBufSize = 2 * 1024 * 1024; // 2M |
+ |
HttpStreamParser::HttpStreamParser(ClientSocketHandle* connection, |
const HttpRequestInfo* request, |
GrowableIOBuffer* read_buffer, |