| Index: net/quic/chromium/quic_stream_factory.cc
|
| diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
|
| index 09fb8e62bf91078fe9640b0b56a2b41e25de43c7..a687e4a532107ae283d8c10c694db0606a14ac94 100644
|
| --- a/net/quic/chromium/quic_stream_factory.cc
|
| +++ b/net/quic/chromium/quic_stream_factory.cc
|
| @@ -65,6 +65,7 @@ enum CreateSessionFailure {
|
| CREATION_ERROR_CONNECTING_SOCKET,
|
| CREATION_ERROR_SETTING_RECEIVE_BUFFER,
|
| CREATION_ERROR_SETTING_SEND_BUFFER,
|
| + CREATION_ERROR_SETTING_NO_NOT_FRAGMENT,
|
| CREATION_ERROR_MAX
|
| };
|
|
|
| @@ -1612,6 +1613,12 @@ int QuicStreamFactory::ConfigureSocket(DatagramClientSocket* socket,
|
| return rv;
|
| }
|
|
|
| + rv = socket->SetDoNotFragment(true);
|
| + if (rv != OK) {
|
| + HistogramCreateSessionFailure(CREATION_ERROR_SETTING_NO_NOT_FRAGMENT);
|
| + return rv;
|
| + }
|
| +
|
| // Set a buffer large enough to contain the initial CWND's worth of packet
|
| // to work around the problem with CHLO packets being sent out with the
|
| // wrong encryption level, when the send buffer is full.
|
|
|