| Index: net/quic/quic_stream_factory.h
|
| diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
|
| index 709cbb0d500b0514564a8a9c2ea887a09750c327..dbe35f118a47b254c32d05d87e62574854347f58 100644
|
| --- a/net/quic/quic_stream_factory.h
|
| +++ b/net/quic/quic_stream_factory.h
|
| @@ -90,7 +90,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
|
| QuicRandom* random_generator,
|
| QuicClock* clock,
|
| size_t max_packet_length,
|
| - const QuicVersionVector& supported_versions);
|
| + const QuicVersionVector& supported_versions,
|
| + bool enable_port_selection);
|
| virtual ~QuicStreamFactory();
|
|
|
| // Creates a new QuicHttpStream to |host_port_proxy_pair| which will be
|
| @@ -237,6 +238,11 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
|
|
|
| QuicVersionVector supported_versions_;
|
|
|
| + // Determine is we should consistently select a client UDP port. If false,
|
| + // then we will just lest the OS select a random client port for each new
|
| + // connection.
|
| + bool enable_port_selection_;
|
| +
|
| // Each profile will (probably) have a unique port_seed_ value. This value is
|
| // used to help seed a pseudo-random number generator (PortSuggester) so that
|
| // we consistently (within this profile) suggest the same ephemeral port when
|
|
|