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

Issue 10917235: SO_REUSEPORT is moved from AddressReuse feature to Broadcast feature. (Closed)

Created:
8 years, 3 months ago by ygorshenin1
Modified:
8 years, 3 months ago
Reviewers:
Sergey Ulanov, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

SO_REUSEPORT socket option is set up when Broadcast feature is requested. Previously it's not caused any bugs because when broadcasting feature is needed, address reuse feature is set up too. BUG=none TEST=net_unittests:UDPSocketTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157373

Patch Set 1 #

Patch Set 2 : Added explicit check for OSX. #

Patch Set 3 : s/OSX/OS_MACOSX #

Total comments: 4

Patch Set 4 : Added comment for SO_REUSEPORT socket option and deleted redundant check for existence of SO_REUSEP… #

Total comments: 2

Patch Set 5 : Fixed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M net/udp/udp_socket_libevent.cc View 1 2 3 4 1 chunk +10 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ygorshenin1
8 years, 3 months ago (2012-09-13 13:03:14 UTC) #1
Sergey Ulanov
Thanks for following up on this. It's still not clear to me why we need ...
8 years, 3 months ago (2012-09-13 18:20:27 UTC) #2
ygorshenin1
We have this flag only on Mac, and it's required only for Mac. This flag ...
8 years, 3 months ago (2012-09-13 18:31:33 UTC) #3
Sergey Ulanov
On 2012/09/13 18:31:33, ygorshenin1 wrote: > We have this flag only on Mac, and it's ...
8 years, 3 months ago (2012-09-13 18:54:18 UTC) #4
Sergey Ulanov
On 2012/09/13 18:54:18, sergeyu wrote: > On 2012/09/13 18:31:33, ygorshenin1 wrote: > > We have ...
8 years, 3 months ago (2012-09-13 19:56:58 UTC) #5
ygorshenin1
PTAL
8 years, 3 months ago (2012-09-14 14:09:40 UTC) #6
Sergey Ulanov
FYI: I will be offline next week. Please add willchan@ or wtc@ to finish this ...
8 years, 3 months ago (2012-09-14 19:38:45 UTC) #7
wtc
ygorshenin: I reviewed patch set 3, but you haven't made the two changes that sergeyu ...
8 years, 3 months ago (2012-09-17 22:58:30 UTC) #8
ygorshenin1
Sorry for the slow response, PTAL http://codereview.chromium.org/10917235/diff/3002/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): http://codereview.chromium.org/10917235/diff/3002/net/udp/udp_socket_libevent.cc#newcode471 net/udp/udp_socket_libevent.cc:471: #if defined(OS_MACOSX) && ...
8 years, 3 months ago (2012-09-18 11:34:05 UTC) #9
wtc
Patch set 4 LGTM. http://codereview.chromium.org/10917235/diff/15001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): http://codereview.chromium.org/10917235/diff/15001/net/udp/udp_socket_libevent.cc#newcode472 net/udp/udp_socket_libevent.cc:472: // SO_REUSEPORT on OSX permits ...
8 years, 3 months ago (2012-09-18 14:40:32 UTC) #10
ygorshenin1
http://codereview.chromium.org/10917235/diff/15001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): http://codereview.chromium.org/10917235/diff/15001/net/udp/udp_socket_libevent.cc#newcode472 net/udp/udp_socket_libevent.cc:472: // SO_REUSEPORT on OSX permits multiple instances of a ...
8 years, 3 months ago (2012-09-18 14:54:22 UTC) #11
wtc
Patch set 5 LGTM. Thanks.
8 years, 3 months ago (2012-09-18 15:07:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/10917235/23003
8 years, 3 months ago (2012-09-18 15:23:47 UTC) #13
commit-bot: I haz the power
8 years, 3 months ago (2012-09-18 17:29:31 UTC) #14
Change committed as 157373

Powered by Google App Engine
This is Rietveld 408576698