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

Issue 4136008: testserver.py listens on ephemeral ports by default. (Closed)

Created:
10 years, 1 month ago by cbentzel
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

testserver.py listens on ephemeral ports by default. If --port is specified on the command line, testserver.py will listen on that port, otherwise it will listen on an ephemeral port. If --startup_pipe is specified, the port number is written to the pipe as a 2 byte unsigned int in host order. TestServer spawns testserver.py to listen on an ephemeral port and reads the port value from the pipe. A fixed port can not be specified. BUG=56814 TEST=try bots pass Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65465

Patch Set 1 #

Patch Set 2 : Huh #

Total comments: 12

Patch Set 3 : Respond to latest round of comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -86 lines) Patch
M net/test/test_server.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M net/test/test_server.cc View 1 2 6 chunks +18 lines, -57 lines 0 comments Download
M net/test/test_server_posix.cc View 1 2 1 chunk +34 lines, -13 lines 0 comments Download
M net/test/test_server_win.cc View 1 2 2 chunks +20 lines, -6 lines 0 comments Download
M net/tools/testserver/testserver.py View 7 chunks +17 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
cbentzel
I ended up reverting the initial ephemeral port change because of flakiness with the SSLUI ...
10 years, 1 month ago (2010-10-29 20:24:38 UTC) #1
Paweł Hajdan Jr.
Sorry for late review. Yeah, my Windows change is now landed so you can remerge. ...
10 years, 1 month ago (2010-11-02 07:05:00 UTC) #2
cbentzel
Thanks for the latest round of comments. Sorry for delay in between rounds. http://codereview.chromium.org/4136008/diff/2001/3001 File ...
10 years, 1 month ago (2010-11-06 18:06:55 UTC) #3
Paweł Hajdan Jr.
LGTM
10 years, 1 month ago (2010-11-08 10:38:41 UTC) #4
Sam Kerner (Chrome)
10 years, 1 month ago (2010-11-08 13:53:21 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698