summaryrefslogtreecommitdiffstats
path: root/net/server
diff options
context:
space:
mode:
authorloislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 09:45:57 +0000
committerloislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 09:45:57 +0000
commit2732a46df7bd9a1fc0140ea0133ad76946547c39 (patch)
treebe113f9f8fc827408af39c8d3b92787f7adaff96 /net/server
parent26f4eb1a980ab7013ca1d9524f2fcc0a2c43e758 (diff)
downloadchromium_src-2732a46df7bd9a1fc0140ea0133ad76946547c39.zip
chromium_src-2732a46df7bd9a1fc0140ea0133ad76946547c39.tar.gz
chromium_src-2732a46df7bd9a1fc0140ea0133ad76946547c39.tar.bz2
DevTools: Remote debugging doesn't work on mac.
1. Run chromium with --remote-debugging-port=9222 2. Open another tab with url localhost:9222 What is the expected result? Page with the list of available tabs. What happens instead? Page doesn't open and stay in waiting state. BUG=50749 TEST=none Review URL: http://codereview.chromium.org/3012037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/server')
-rw-r--r--net/server/http_listen_socket.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server/http_listen_socket.cc b/net/server/http_listen_socket.cc
index 6f60add..dd6ec3c 100644
--- a/net/server/http_listen_socket.cc
+++ b/net/server/http_listen_socket.cc
@@ -38,6 +38,9 @@ void HttpListenSocket::Accept() {
} else {
scoped_refptr<HttpListenSocket> sock =
new HttpListenSocket(conn, delegate_);
+#if defined(OS_POSIX)
+ sock->WatchSocket(WAITING_READ);
+#endif
// it's up to the delegate to AddRef if it wants to keep it around
DidAccept(this, sock);
}