diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 02:06:43 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 02:06:43 +0000 |
commit | 575cce6c6b8ce8f5c2dff9dc9ad51a7f302765a1 (patch) | |
tree | 1924938680cb7c579e47fb77f9f6d3c371708325 /net/quic/quic_packet_generator.h | |
parent | 36e151a64e36f7f5f491e74995f402ef69e9e81c (diff) | |
download | chromium_src-575cce6c6b8ce8f5c2dff9dc9ad51a7f302765a1.zip chromium_src-575cce6c6b8ce8f5c2dff9dc9ad51a7f302765a1.tar.gz chromium_src-575cce6c6b8ce8f5c2dff9dc9ad51a7f302765a1.tar.bz2 |
Tell congestion manager when we are sending a CHLO, so it won't delay sending.
Most critically, we need to ignore the congestion window when we're sending
a CHLO. Such packets are notable as they are the only packets send with null
encryption (other than perhaps ACKs, which are generally not restricted anyway).
BUG=266647
Review URL: https://chromiumcodereview.appspot.com/21714002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_packet_generator.h')
-rw-r--r-- | net/quic/quic_packet_generator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/quic/quic_packet_generator.h b/net/quic/quic_packet_generator.h index ab0dbe2..e8b09e6 100644 --- a/net/quic/quic_packet_generator.h +++ b/net/quic/quic_packet_generator.h @@ -63,7 +63,8 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator { public: virtual ~DelegateInterface() {} virtual bool CanWrite(Retransmission retransmission, - HasRetransmittableData retransmittable) = 0; + HasRetransmittableData retransmittable, + IsHandshake handshake) = 0; virtual QuicAckFrame* CreateAckFrame() = 0; virtual QuicCongestionFeedbackFrame* CreateFeedbackFrame() = 0; // Takes ownership of |packet.packet| and |packet.retransmittable_frames|. |