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

Issue 487013003: Revert "Revert of Replace StreamListenSocket with StreamSocket in HttpServer. (patchset #29 of http… (Closed)

Created:
6 years, 4 months ago by byungchul
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, aandrey+blink_chromium.org, ben+mojo_chromium.org, ozone-reviews_chromium.org, cbentzel+watch_chromium.org, vsevik, jam, abarth-chromium, darin-cc_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, extensions-reviews_chromium.org, paulirish+reviews_chromium.org, stgao, jochen+watch_chromium.org, yurys, Aaron Boodman, darin (slow to review), pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert "Revert of Replace StreamListenSocket with StreamSocket in HttpServer. (patchset #29 of https://codereview.chromium.org/296053012/)" This reverts commit 0b2f33f4a88efbd203b0623324ad4114e3bb9d23. This is relanding CL of https://codereview.chromium.org/296053012/, which broke http server unittests because http server doesn't send response synchronously any more. This CL fixes unittests by reading responses completely. Patch set #1 is same to the original CL. Patch set #2 is the diff. BUG=371906 TBR=pfeldman@chromium.org,darin@chromium.org,gunsch@chromium.org,mnaganov@chromium.org Committed: https://crrev.com/38c3ae72c9743dbe172779477917bf24bc25ab97 Cr-Commit-Position: refs/heads/master@{#291784}

Patch Set 1 #

Patch Set 2 : Fix failed http server unittests. #

Total comments: 10

Patch Set 3 : Used HttpUtil in parsing http headers. #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1440 lines, -388 lines) Patch
M android_webview/native/aw_dev_tools_server.cc View 1 2 3 3 chunks +24 lines, -5 lines 0 comments Download
M chrome/browser/android/dev_tools_server.cc View 1 2 3 3 chunks +48 lines, -5 lines 0 comments Download
M chrome/browser/devtools/device/android_web_socket.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/devtools/remote_debugging_server.cc View 2 chunks +25 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/net/net_util_unittest.cc View 5 chunks +8 lines, -9 lines 0 comments Download
M chrome/test/chromedriver/net/test_http_server.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/net/test_http_server.cc View 5 chunks +9 lines, -14 lines 0 comments Download
M chrome/test/chromedriver/server/chromedriver_server.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chromecast/shell/browser/devtools/remote_debugging_server.cc View 3 chunks +46 lines, -7 lines 0 comments Download
M cloud_print/gcp20/prototype/privet_http_server.h View 2 chunks +1 line, -2 lines 0 comments Download
M cloud_print/gcp20/prototype/privet_http_server.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/devtools/devtools_browser_target.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_impl.h View 3 chunks +6 lines, -7 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_impl.cc View 16 chunks +63 lines, -19 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_unittest.cc View 6 chunks +59 lines, -42 lines 0 comments Download
M content/public/browser/devtools_http_handler.h View 3 chunks +29 lines, -2 lines 0 comments Download
M content/shell/browser/shell_devtools_delegate.cc View 1 2 3 4 chunks +45 lines, -7 lines 0 comments Download
M extensions/browser/api/socket/tcp_socket.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/spy/websocket_server.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/spy/websocket_server.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M net/net.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M net/server/http_connection.h View 1 chunk +105 lines, -18 lines 0 comments Download
M net/server/http_connection.cc View 1 chunk +140 lines, -21 lines 0 comments Download
A net/server/http_connection_unittest.cc View 1 chunk +331 lines, -0 lines 0 comments Download
M net/server/http_server.h View 4 chunks +40 lines, -30 lines 0 comments Download
M net/server/http_server.cc View 7 chunks +186 lines, -71 lines 0 comments Download
M net/server/http_server_response_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/server/http_server_response_info.cc View 1 chunk +7 lines, -1 line 0 comments Download
M net/server/http_server_unittest.cc View 1 2 3 13 chunks +139 lines, -25 lines 0 comments Download
M net/server/web_socket.h View 3 chunks +9 lines, -4 lines 0 comments Download
M net/server/web_socket.cc View 11 chunks +90 lines, -73 lines 0 comments Download
M net/socket/server_socket.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
byungchul
Fixed http server unittests.
6 years, 4 months ago (2014-08-22 23:18:49 UTC) #1
mmenke
https://codereview.chromium.org/487013003/diff/20001/net/server/http_server_unittest.cc File net/server/http_server_unittest.cc (right): https://codereview.chromium.org/487013003/diff/20001/net/server/http_server_unittest.cc#newcode115 net/server/http_server_unittest.cc:115: return false; I don't think this is needed. https://codereview.chromium.org/487013003/diff/20001/net/server/http_server_unittest.cc#newcode119 ...
6 years, 4 months ago (2014-08-25 18:19:54 UTC) #2
byungchul
https://codereview.chromium.org/487013003/diff/20001/net/server/http_server_unittest.cc File net/server/http_server_unittest.cc (right): https://codereview.chromium.org/487013003/diff/20001/net/server/http_server_unittest.cc#newcode115 net/server/http_server_unittest.cc:115: return false; On 2014/08/25 18:19:54, mmenke wrote: > I ...
6 years, 4 months ago (2014-08-25 21:11:26 UTC) #3
mmenke
Much simpler. LGTM!
6 years, 4 months ago (2014-08-25 21:28:09 UTC) #4
byungchul
The CQ bit was checked by byungchul@chromium.org
6 years, 4 months ago (2014-08-25 21:33:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/byungchul@chromium.org/487013003/60001
6 years, 4 months ago (2014-08-25 21:35:49 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-25 22:42:30 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (60001) as a0413b18912bdf24e548c68bbc2d5aac3551e709
6 years, 4 months ago (2014-08-25 23:27:58 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:38:25 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/38c3ae72c9743dbe172779477917bf24bc25ab97
Cr-Commit-Position: refs/heads/master@{#291784}

Powered by Google App Engine
This is Rietveld 408576698