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

Issue 18683002: Test that server socket cannot reuse port (Closed)

Created:
7 years, 5 months ago by Bei Zhang
Modified:
7 years, 4 months ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

After removing allowReuseAddress and always setting SO_REUSEADDR, we need a test to ensure that the ports are not reused on *nix systems. BUG=173533 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215242

Patch Set 1 : Test that server socket cannot reuse port #

Total comments: 2

Patch Set 2 : Improve test case #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M net/socket/tcp_server_socket_unittest.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Bei Zhang
After removing allowReuseAddress and always setting SO_REUSEADDR, we need a test to ensure that the ...
7 years, 5 months ago (2013-07-08 18:08:25 UTC) #1
Bei Zhang
Hi Wan-Teh, Please review this test case for the remove of allowReuseAddress. Thanks, Bei
7 years, 5 months ago (2013-07-08 18:12:09 UTC) #2
wtc
Review comments on patch set 1: We need to make sure this test doesn't become ...
7 years, 5 months ago (2013-07-25 18:03:56 UTC) #3
Bei Zhang
Thanks for the review. https://codereview.chromium.org/18683002/diff/2001/net/socket/tcp_server_socket_unittest.cc File net/socket/tcp_server_socket_unittest.cc (right): https://codereview.chromium.org/18683002/diff/2001/net/socket/tcp_server_socket_unittest.cc#newcode252 net/socket/tcp_server_socket_unittest.cc:252: ParseAddress("127.0.0.1", kListenPort, &address); On 2013/07/25 ...
7 years, 5 months ago (2013-07-26 05:10:40 UTC) #4
wtc
Patch set 2 LGTM. https://codereview.chromium.org/18683002/diff/12001/net/socket/tcp_server_socket_unittest.cc File net/socket/tcp_server_socket_unittest.cc (right): https://codereview.chromium.org/18683002/diff/12001/net/socket/tcp_server_socket_unittest.cc#newcode252 net/socket/tcp_server_socket_unittest.cc:252: // Bind to an random, ...
7 years, 5 months ago (2013-07-26 21:24:21 UTC) #5
Bei Zhang
Thanks for the review! Sorry for not replying timely. https://codereview.chromium.org/18683002/diff/12001/net/socket/tcp_server_socket_unittest.cc File net/socket/tcp_server_socket_unittest.cc (right): https://codereview.chromium.org/18683002/diff/12001/net/socket/tcp_server_socket_unittest.cc#newcode252 net/socket/tcp_server_socket_unittest.cc:252: ...
7 years, 4 months ago (2013-08-01 20:14:40 UTC) #6
wtc
Patch set 3 LGTM.
7 years, 4 months ago (2013-08-01 22:32:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ikarienator@chromium.org/18683002/17001
7 years, 4 months ago (2013-08-02 00:18:10 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-02 08:30:18 UTC) #9
Message was sent while issue was closed.
Change committed as 215242

Powered by Google App Engine
This is Rietveld 408576698