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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 1999893002: QUIC - Don't speak QUIC if TSVIPCli.dll is loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
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 385b25522041732058643d9f9d576557e9649aeb..2144b4927bbb4460475be76d5d335c23c6325d0c 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -1468,6 +1468,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