| Index: net/server/http_server.cc
|
| ===================================================================
|
| --- net/server/http_server.cc (revision 150609)
|
| +++ net/server/http_server.cc (working copy)
|
| @@ -83,8 +83,7 @@
|
| connection->Send500(message);
|
| }
|
|
|
| -void HttpServer::Close(int connection_id)
|
| -{
|
| +void HttpServer::Close(int connection_id) {
|
| HttpConnection* connection = FindConnection(connection_id);
|
| if (connection == NULL)
|
| return;
|
| @@ -94,6 +93,10 @@
|
| DidClose(connection->socket_);
|
| }
|
|
|
| +int HttpServer::GetLocalAddress(IPEndPoint* address) {
|
| + return server_->GetLocalAddress(address);
|
| +}
|
| +
|
| void HttpServer::DidAccept(StreamListenSocket* server,
|
| StreamListenSocket* socket) {
|
| HttpConnection* connection = new HttpConnection(this, socket);
|
|
|