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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 1993873004: QUIC - Don't speak QUIC if TSVIPCli.dll is loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index dc47332f910797692b558b1ae5d668d6a710dad7..e1d67ddc7dcfafaba5f48fbccd1dbe5bd87c471a 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -1483,6 +1483,9 @@ int QuicStreamFactory::ConfigureSocket(DatagramClientSocket* socket,
bool tsvipcli_loaded = ::GetModuleHandle(L"TSVIPCli.dll") != NULL;
UMA_HISTOGRAM_BOOLEAN("Net.QuicStreamFactory.TSVIPCliIsLoaded",
tsvipcli_loaded);
+ if (tsvipcli_loaded) {
+ return ERR_QUIC_PROTOCOL_ERROR;
+ }
#endif
int rv;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698