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

Unified Diff: net/quic/quic_stream_factory.h

Issue 107803002: Consistently suggest ephemeral port for QUIC client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index 95a3d369d9069490a27d3666c2945c2e0c46a671..ab669b9f6b7664b73d205d6df5301d21fe3504b5 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -230,6 +230,10 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
+ // Entropy to help consistently select the same ephemeral port for repeated
+ // connections to the same server.
wtc 2013/12/06 23:36:44 This comment is confusing because it describes a p
jar (doing other things) 2013/12/07 00:47:58 Extended comment. See if this is clearer.
+ uint64 port_entropy_;
+
DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
};

Powered by Google App Engine
This is Rietveld 408576698