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

Unified Diff: net/http/http_proxy_client_socket_wrapper.cc

Issue 2235973002: Add a SetDoNotFragment() method to DatagramSocket, and call this for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Blimp Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_proxy_client_socket_wrapper.cc
diff --git a/net/http/http_proxy_client_socket_wrapper.cc b/net/http/http_proxy_client_socket_wrapper.cc
index b857f0fef476cc23a9af48c77f8cdac8c89780b9..2dbc9ef8a0606fbdb2e956caf8bad8eb6f936e6f 100644
--- a/net/http/http_proxy_client_socket_wrapper.cc
+++ b/net/http/http_proxy_client_socket_wrapper.cc
@@ -303,6 +303,12 @@ int HttpProxyClientSocketWrapper::SetSendBufferSize(int32_t size) {
return ERR_SOCKET_NOT_CONNECTED;
}
+int HttpProxyClientSocketWrapper::SetDoNotFragment(bool do_not_fragment) {
+ if (transport_socket_)
+ return transport_socket_->SetDoNotFragment(do_not_fragment);
+ return ERR_SOCKET_NOT_CONNECTED;
+}
+
int HttpProxyClientSocketWrapper::GetPeerAddress(IPEndPoint* address) const {
if (transport_socket_)
return transport_socket_->GetPeerAddress(address);

Powered by Google App Engine
This is Rietveld 408576698