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

Unified Diff: net/http/http_chunked_decoder.h

Issue 11362212: Merge 162756 - Fix a crash when a line containing the length of an HTTP (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | net/http/http_chunked_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_chunked_decoder.h
===================================================================
--- net/http/http_chunked_decoder.h (revision 167232)
+++ net/http/http_chunked_decoder.h (working copy)
@@ -77,6 +77,10 @@
//
class NET_EXPORT_PRIVATE HttpChunkedDecoder {
public:
+ // The maximum length of |line_buf_| between calls to FilterBuff().
+ // Exposed for tests.
+ static const size_t kMaxLineBufLen;
+
HttpChunkedDecoder();
// Indicates that a previous call to FilterBuf encountered the final CRLF.
« no previous file with comments | « no previous file | net/http/http_chunked_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698