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

Unified Diff: net/server/http_server.cc

Issue 594393002: Add net::HttpServer::Delegate::OnConnect() function and set ChromeDriver buffer sizes to 100 MB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « net/server/http_server.h ('k') | net/server/http_server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server.cc
diff --git a/net/server/http_server.cc b/net/server/http_server.cc
index fb0dab37a4f44702ea25f2e603a5cba491f41d06..c030fd5f99c866f07a196c9e825d4ddf64a31161 100644
--- a/net/server/http_server.cc
+++ b/net/server/http_server.cc
@@ -153,6 +153,7 @@ int HttpServer::HandleAcceptResult(int rv) {
HttpConnection* connection =
new HttpConnection(++last_id_, accepted_socket_.Pass());
id_to_connection_[connection->id()] = connection;
+ delegate_->OnConnect(connection->id());
mmenke 2014/09/23 22:29:31 Should allow the embedder to close the connection
samuong 2014/09/24 00:07:13 Done.
DoReadLoop(connection);
return OK;
}
« no previous file with comments | « net/server/http_server.h ('k') | net/server/http_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698