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

Issue 594393002: Add net::HttpServer::Delegate::OnConnect() function and set ChromeDriver buffer sizes to 100 MB (Closed)

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

Description

Add net::HttpServer::Delegate::OnConnect() function and set ChromeDriver buffer sizes to 100 MB BUG= Committed: https://crrev.com/0b4d9b95e0cb553624b994df899ee4010425985e Cr-Commit-Position: refs/heads/master@{#296881}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Allow the embedder to close the connection from OnConnect #

Total comments: 4

Patch Set 3 : Put as much of the file as possible into the anonymous namespace #

Total comments: 8

Patch Set 4 : Fix nits #

Patch Set 5 : Check for connection ids after the http request #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -14 lines) Patch
M chrome/test/chromedriver/net/net_util_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/net/test_http_server.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/net/test_http_server.cc View 1 2 3 3 chunks +1 line, -8 lines 0 comments Download
M chrome/test/chromedriver/server/chromedriver_server.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/test/run_py_tests.py View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M cloud_print/gcp20/prototype/privet_http_server.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/spy/websocket_server.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/server/http_server.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/server/http_server.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M net/server/http_server_unittest.cc View 1 2 3 4 5 chunks +26 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
samuong
The 1 MB buffer size limit introduced in r291784 is too low for ChromeDriver, and ...
6 years, 3 months ago (2014-09-23 22:00:14 UTC) #2
mmenke
https://codereview.chromium.org/594393002/diff/1/net/server/http_server.cc File net/server/http_server.cc (right): https://codereview.chromium.org/594393002/diff/1/net/server/http_server.cc#newcode156 net/server/http_server.cc:156: delegate_->OnConnect(connection->id()); Should allow the embedder to close the connection ...
6 years, 3 months ago (2014-09-23 22:29:31 UTC) #3
samuong
https://codereview.chromium.org/594393002/diff/1/net/server/http_server.cc File net/server/http_server.cc (right): https://codereview.chromium.org/594393002/diff/1/net/server/http_server.cc#newcode156 net/server/http_server.cc:156: delegate_->OnConnect(connection->id()); On 2014/09/23 22:29:31, mmenke wrote: > Should allow ...
6 years, 3 months ago (2014-09-24 00:07:14 UTC) #5
mmenke
https://codereview.chromium.org/594393002/diff/40001/net/server/http_server_unittest.cc File net/server/http_server_unittest.cc (right): https://codereview.chromium.org/594393002/diff/40001/net/server/http_server_unittest.cc#newcode624 net/server/http_server_unittest.cc:624: namespace { nit: Can you just stick this entire ...
6 years, 3 months ago (2014-09-24 15:38:45 UTC) #6
mmenke
Oh, and LGTM
6 years, 3 months ago (2014-09-24 15:39:01 UTC) #7
samuong
https://codereview.chromium.org/594393002/diff/40001/net/server/http_server_unittest.cc File net/server/http_server_unittest.cc (right): https://codereview.chromium.org/594393002/diff/40001/net/server/http_server_unittest.cc#newcode624 net/server/http_server_unittest.cc:624: namespace { On 2014/09/24 15:38:45, mmenke wrote: > nit: ...
6 years, 3 months ago (2014-09-24 16:32:51 UTC) #8
mmenke
On 2014/09/24 16:32:51, samuong wrote: > https://codereview.chromium.org/594393002/diff/40001/net/server/http_server_unittest.cc > File net/server/http_server_unittest.cc (right): > > https://codereview.chromium.org/594393002/diff/40001/net/server/http_server_unittest.cc#newcode624 > ...
6 years, 3 months ago (2014-09-24 16:39:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594393002/60001
6 years, 3 months ago (2014-09-24 17:06:30 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/13181)
6 years, 3 months ago (2014-09-24 17:15:47 UTC) #13
samuong
aa@chromium.org: Please review changes in mojo/spy/websocket_server.h gene@chromium.org: Please review changes in cloud_print/gcp20/prototype/privet_http_server.h pfeldman@chromium.org: Please review ...
6 years, 3 months ago (2014-09-24 17:39:46 UTC) #15
gene
lgtm for cloud_print/
6 years, 3 months ago (2014-09-24 17:51:35 UTC) #16
stgao
lgtm with nits for chromedriver/ https://codereview.chromium.org/594393002/diff/60001/chrome/test/chromedriver/net/test_http_server.cc File chrome/test/chromedriver/net/test_http_server.cc (right): https://codereview.chromium.org/594393002/diff/60001/chrome/test/chromedriver/net/test_http_server.cc#newcode86 chrome/test/chromedriver/net/test_http_server.cc:86: server_->SetSendBufferSize(connection_id, kBufferSize); Could these ...
6 years, 3 months ago (2014-09-24 17:53:34 UTC) #17
samuong
https://codereview.chromium.org/594393002/diff/60001/chrome/test/chromedriver/net/test_http_server.cc File chrome/test/chromedriver/net/test_http_server.cc (right): https://codereview.chromium.org/594393002/diff/60001/chrome/test/chromedriver/net/test_http_server.cc#newcode86 chrome/test/chromedriver/net/test_http_server.cc:86: server_->SetSendBufferSize(connection_id, kBufferSize); On 2014/09/24 17:53:34, Shuotao wrote: > Could ...
6 years, 3 months ago (2014-09-24 18:18:36 UTC) #18
samuong
On ios_dbg_simulator, the OnConnect() call happens a bit later than on other platforms. I've updated ...
6 years, 2 months ago (2014-09-25 21:40:09 UTC) #19
Aaron Boodman
lgtm
6 years, 2 months ago (2014-09-25 21:43:23 UTC) #20
mmenke
On 2014/09/25 21:43:23, Aaron Boodman wrote: > lgtm Updated test LGTM.
6 years, 2 months ago (2014-09-25 21:45:50 UTC) #21
pfeldman
lgtm.
6 years, 2 months ago (2014-09-26 02:28:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594393002/100001
6 years, 2 months ago (2014-09-26 03:06:57 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:100001) as d5bf8dbe7d5c92faab09d60e71cd93b7b9ac6db0
6 years, 2 months ago (2014-09-26 04:15:36 UTC) #25
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 04:16:12 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0b4d9b95e0cb553624b994df899ee4010425985e
Cr-Commit-Position: refs/heads/master@{#296881}

Powered by Google App Engine
This is Rietveld 408576698