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; |
} |