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

Unified Diff: net/http/http_stream_parser.h

Issue 2130733003: [HttpStreamParser]: Flush buffers as soon as request is sent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | net/http/http_stream_parser.cc » ('j') | net/http/http_stream_parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_parser.h
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
index 3a4258ee9f34d0800c2b7c25ae6e8e3e8297e206..a73528caf9a884d89a70326ba989de4b044a51ad 100644
--- a/net/http/http_stream_parser.h
+++ b/net/http/http_stream_parser.h
@@ -191,6 +191,9 @@ class NET_EXPORT_PRIVATE HttpStreamParser {
// Uploads statistics about status line compliance with RFC 7230.
void ValidateStatusLine(const std::string& status_line);
+ // Flush buffers once the request is sent.
+ void FlushBuffers();
+
// Next state of the request, when the current one completes.
State io_state_;
« no previous file with comments | « no previous file | net/http/http_stream_parser.cc » ('j') | net/http/http_stream_parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698