Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: net/http/http_stream_parser.cc

Issue 10919167: Increase the sizes of the circular buffers used by SSLClientSocketNSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_stream_parser.cc
===================================================================
--- net/http/http_stream_parser.cc (revision 155503)
+++ net/http/http_stream_parser.cc (working copy)
@@ -22,7 +22,7 @@
namespace {
const size_t kMaxMergedHeaderAndBodySize = 1400;
-const size_t kRequestBodyBufferSize = 1 << 14; // 16KB
+const size_t kRequestBodyBufferSize = 1 << 14; // 16KB <= XXX This is the largest write buffer.
wtc 2012/09/07 23:18:54 This comment is intended to help code review. It w
std::string GetResponseHeaderLines(const net::HttpResponseHeaders& headers) {
std::string raw_headers = headers.raw_headers();

Powered by Google App Engine
This is Rietveld 408576698