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

Unified Diff: net/socket/tcp_socket_win.cc

Issue 451383002: Plumbing for TCP FastOpen for SSL sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TFO not enabled when Happy Eyeballs may be used. Created 6 years, 3 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/socket/tcp_socket_win.cc
diff --git a/net/socket/tcp_socket_win.cc b/net/socket/tcp_socket_win.cc
index 88db36fd41c3da42f24b7eb17da0bab4d6a7ac52..88067e66fa13a020e5f494020a8cbb2b875735f7 100644
--- a/net/socket/tcp_socket_win.cc
+++ b/net/socket/tcp_socket_win.cc
@@ -123,6 +123,9 @@ int MapConnectError(int os_error) {
//-----------------------------------------------------------------------------
+// Nothing to do for Windows since it doesn't support TCP FastOpen.
+void CheckSupportAndMaybeEnableTCPFastOpen(bool user_enabled) {}
+
// This class encapsulates all the state that has to be preserved as long as
// there is a network IO operation in progress. If the owner TCPSocketWin is
// destroyed while an operation is in progress, the Core is detached and it
@@ -1021,4 +1024,3 @@ void TCPSocketWin::DidSignalRead() {
}
} // namespace net
-

Powered by Google App Engine
This is Rietveld 408576698