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 5cd80d1b230ff81adbf222660a16e1d7912c1b0b..87188fb6a48234c02f99644861a8e7585387c986 100644 |
--- a/net/quic/chromium/quic_stream_factory.cc |
+++ b/net/quic/chromium/quic_stream_factory.cc |
@@ -68,6 +68,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 |
}; |
@@ -1725,6 +1726,12 @@ int QuicStreamFactory::ConfigureSocket(DatagramClientSocket* socket, |
return rv; |
} |
+ rv = socket->SetDoNotFragment(); |
+ 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. |