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

Issue 2235973002: Add a SetDoNotFragment() method to DatagramSocket, and call this for (Closed)

Created:
4 years, 4 months ago by Ryan Hamilton
Modified:
4 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a SetDoNotFragment() method to DatagramSocket, and call this for QUIC sockets. BUG=636544 Committed: https://crrev.com/ff006a1aab6168613e272a763d34c3cd34b58cc0 Cr-Commit-Position: refs/heads/master@{#414206}

Patch Set 1 #

Patch Set 2 : jingle #

Patch Set 3 : remoting #

Patch Set 4 : Blimp #

Total comments: 7

Patch Set 5 : more jingle #

Patch Set 6 : content #

Patch Set 7 : UDP only #

Patch Set 8 : net_fuzzer_test_support #

Patch Set 9 : socket_host_udp_unittest.cc #

Patch Set 10 : better #

Patch Set 11 : fix v6 #

Patch Set 12 : progress #

Total comments: 6

Patch Set 13 : Fix !$ #

Total comments: 17

Patch Set 14 : Fix mmenke's comments #

Total comments: 4

Patch Set 15 : better fixes #

Patch Set 16 : Rebase #

Patch Set 17 : git cl try --help #

Patch Set 18 : may fail #

Patch Set 19 : better v6 #

Patch Set 20 : more #

Patch Set 21 : win #

Patch Set 22 : better win #

Patch Set 23 : more win #

Patch Set 24 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -0 lines) Patch
M content/browser/renderer_host/p2p/socket_host_udp_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M net/dns/address_sorter_posix_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M net/dns/mock_mdns_socket_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +7 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M net/udp/datagram_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +7 lines, -0 lines 0 comments Download
M net/udp/fuzzed_datagram_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M net/udp/fuzzed_datagram_client_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +4 lines, -0 lines 0 comments Download
M net/udp/udp_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M net/udp/udp_client_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M net/udp/udp_server_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M net/udp/udp_server_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M net/udp/udp_socket_posix.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +7 lines, -0 lines 0 comments Download
M net/udp/udp_socket_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +31 lines, -0 lines 0 comments Download
M net/udp/udp_socket_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +44 lines, -0 lines 0 comments Download
M net/udp/udp_socket_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +7 lines, -0 lines 0 comments Download
M net/udp/udp_socket_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 134 (110 generated)
Ryan Hamilton
jdorfman: can you take a look at net/udp/udp_socket_*
4 years, 4 months ago (2016-08-10 22:07:23 UTC) #13
Jeremy Dorfman
On 2016/08/10 22:07:23, Ryan Hamilton wrote: > jdorfman: can you take a look at net/udp/udp_socket_* ...
4 years, 4 months ago (2016-08-10 23:56:30 UTC) #26
Jeremy Dorfman
https://codereview.chromium.org/2235973002/diff/60001/net/socket/tcp_client_socket.cc File net/socket/tcp_client_socket.cc (right): https://codereview.chromium.org/2235973002/diff/60001/net/socket/tcp_client_socket.cc#newcode313 net/socket/tcp_client_socket.cc:313: return socket_->SetSendBufferSize(do_not_fragment); Copy/paste error? https://codereview.chromium.org/2235973002/diff/60001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2235973002/diff/60001/net/udp/udp_socket_posix.cc#newcode432 ...
4 years, 4 months ago (2016-08-10 23:56:57 UTC) #27
Ryan Hamilton
https://codereview.chromium.org/2235973002/diff/60001/net/socket/tcp_client_socket.cc File net/socket/tcp_client_socket.cc (right): https://codereview.chromium.org/2235973002/diff/60001/net/socket/tcp_client_socket.cc#newcode313 net/socket/tcp_client_socket.cc:313: return socket_->SetSendBufferSize(do_not_fragment); On 2016/08/10 23:56:57, Jeremy Dorfman wrote: > ...
4 years, 4 months ago (2016-08-11 19:47:31 UTC) #49
Ryan Hamilton
PTAL https://codereview.chromium.org/2235973002/diff/60001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2235973002/diff/60001/net/udp/udp_socket_posix.cc#newcode433 net/udp/udp_socket_posix.cc:433: int rv = setsockopt(socket_, IPPROTO_IP, IP_MTU_DISCOVER, &val, sizeof(val)); ...
4 years, 4 months ago (2016-08-12 16:53:29 UTC) #55
Jeremy Dorfman
Comments on comments. Otherwise LGTM. https://codereview.chromium.org/2235973002/diff/220001/net/udp/datagram_socket.h File net/udp/datagram_socket.h (right): https://codereview.chromium.org/2235973002/diff/220001/net/udp/datagram_socket.h#newcode38 net/udp/datagram_socket.h:38: // which prevents routers ...
4 years, 4 months ago (2016-08-12 17:23:41 UTC) #56
Ryan Hamilton
sergeyu: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc mmenke: net/ Thanks! https://codereview.chromium.org/2235973002/diff/220001/net/udp/datagram_socket.h File net/udp/datagram_socket.h (right): https://codereview.chromium.org/2235973002/diff/220001/net/udp/datagram_socket.h#newcode38 net/udp/datagram_socket.h:38: // which prevents routers ...
4 years, 4 months ago (2016-08-12 17:40:53 UTC) #59
mmenke
So what happens if we're happily sending packets with a 1450 MTU, all is going ...
4 years, 4 months ago (2016-08-12 17:52:13 UTC) #60
Ryan Hamilton
FWIW, QUIC servers already set the DF so this change brings Chrome's behavior inline with ...
4 years, 4 months ago (2016-08-12 19:21:57 UTC) #61
mmenke
On 2016/08/12 19:21:57, Ryan Hamilton wrote: > FWIW, QUIC servers already set the DF so ...
4 years, 4 months ago (2016-08-12 19:29:59 UTC) #62
Ryan Hamilton
On 2016/08/12 19:29:59, mmenke wrote: > > Great, as long as we don't end up ...
4 years, 4 months ago (2016-08-12 19:42:45 UTC) #63
mmenke
https://codereview.chromium.org/2235973002/diff/240001/net/udp/datagram_socket.h File net/udp/datagram_socket.h (right): https://codereview.chromium.org/2235973002/diff/240001/net/udp/datagram_socket.h#newcode39 net/udp/datagram_socket.h:39: // them. Also, for IPv6, it prevents hosts from ...
4 years, 4 months ago (2016-08-12 19:46:06 UTC) #64
mmenke
On 2016/08/12 19:42:45, Ryan Hamilton wrote: > On 2016/08/12 19:29:59, mmenke wrote: > > > ...
4 years, 4 months ago (2016-08-12 19:47:38 UTC) #65
Ryan Hamilton
https://codereview.chromium.org/2235973002/diff/240001/net/udp/datagram_socket.h File net/udp/datagram_socket.h (right): https://codereview.chromium.org/2235973002/diff/240001/net/udp/datagram_socket.h#newcode39 net/udp/datagram_socket.h:39: // them. Also, for IPv6, it prevents hosts from ...
4 years, 4 months ago (2016-08-12 21:46:02 UTC) #68
mmenke
LGTM https://codereview.chromium.org/2235973002/diff/260001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2235973002/diff/260001/net/udp/udp_socket_posix.cc#newcode449 net/udp/udp_socket_posix.cc:449: return rv == 0 ? OK : MapSystemError(errno); ...
4 years, 4 months ago (2016-08-12 21:55:49 UTC) #70
Ryan Hamilton
Thanks! https://codereview.chromium.org/2235973002/diff/260001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2235973002/diff/260001/net/udp/udp_socket_posix.cc#newcode449 net/udp/udp_socket_posix.cc:449: return rv == 0 ? OK : MapSystemError(errno); ...
4 years, 4 months ago (2016-08-12 22:15:26 UTC) #71
Sergey Ulanov
lgtm
4 years, 4 months ago (2016-08-15 18:52:57 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2235973002/220002
4 years, 4 months ago (2016-08-15 19:22:01 UTC) #79
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/207789)
4 years, 4 months ago (2016-08-15 19:49:12 UTC) #81
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2235973002/450001
4 years, 4 months ago (2016-08-24 18:26:27 UTC) #126
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/129071)
4 years, 4 months ago (2016-08-24 22:08:10 UTC) #128
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2235973002/450001
4 years, 4 months ago (2016-08-24 22:25:03 UTC) #130
commit-bot: I haz the power
Committed patchset #24 (id:450001)
4 years, 4 months ago (2016-08-24 23:56:53 UTC) #132
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 00:00:07 UTC) #134
Message was sent while issue was closed.
Patchset 24 (id:??) landed as
https://crrev.com/ff006a1aab6168613e272a763d34c3cd34b58cc0
Cr-Commit-Position: refs/heads/master@{#414206}

Powered by Google App Engine
This is Rietveld 408576698