diff options
author | byungchul@chromium.org <byungchul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-22 18:10:13 +0000 |
---|---|---|
committer | byungchul@chromium.org <byungchul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-22 18:12:05 +0000 |
commit | 3626bc39d629245a782c61ba0bc668583778e392 (patch) | |
tree | 7156999fdfb9044dd14d5463568b8f6ce01543fe /net/socket/server_socket.h | |
parent | 1c2f071e2a14a39b215a897434d30834ae959560 (diff) | |
download | chromium_src-3626bc39d629245a782c61ba0bc668583778e392.zip chromium_src-3626bc39d629245a782c61ba0bc668583778e392.tar.gz chromium_src-3626bc39d629245a782c61ba0bc668583778e392.tar.bz2 |
Replace StreamListenSocket with StreamSocket in HttpServer.
1) HttpServer gets ServerSocket instead of StreamListenSocket.
2) HttpConnection is just a container for socket, websocket, and pending read/write buffers.
3) HttpServer handles data buffering and asynchronous read/write.
4) HttpConnection has limit in data buffering, up to 1Mbytes by default.
5) For devtools, send buffer limit is 100Mbytes.
6) Unittests for buffer handling in HttpConnection.
BUG=371906
Review URL: https://codereview.chromium.org/296053012
Cr-Commit-Position: refs/heads/master@{#291447}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/server_socket.h')
-rw-r--r-- | net/socket/server_socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/server_socket.h b/net/socket/server_socket.h index 528955b..4b9ca8e 100644 --- a/net/socket/server_socket.h +++ b/net/socket/server_socket.h @@ -21,7 +21,7 @@ class NET_EXPORT ServerSocket { ServerSocket(); virtual ~ServerSocket(); - // Binds the socket and starts listening. Destroy the socket to stop + // Binds the socket and starts listening. Destroys the socket to stop // listening. virtual int Listen(const IPEndPoint& address, int backlog) = 0; |