diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-21 06:26:58 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-21 06:26:58 +0000 |
commit | 525948df785f1e244fef1ac62f44f9ffe386fc10 (patch) | |
tree | 824baacd351ca89091de25661430d32d28ab90ea /net/quic/quic_session.h | |
parent | 2c57a19e2854d16bed7d5f1140f73f96e3cf5944 (diff) | |
download | chromium_src-525948df785f1e244fef1ac62f44f9ffe386fc10.zip chromium_src-525948df785f1e244fef1ac62f44f9ffe386fc10.tar.gz chromium_src-525948df785f1e244fef1ac62f44f9ffe386fc10.tar.bz2 |
Sent QUIC "PING" frames when a stream is open and the connection
has been idle for the half idle network timeout.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264950
Review URL: https://codereview.chromium.org/243533003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_session.h')
-rw-r--r-- | net/quic/quic_session.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/quic/quic_session.h b/net/quic/quic_session.h index 76fb274..ca2189a3 100644 --- a/net/quic/quic_session.h +++ b/net/quic/quic_session.h @@ -73,6 +73,7 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface { virtual void OnCanWrite() OVERRIDE; virtual bool HasPendingWrites() const OVERRIDE; virtual bool HasPendingHandshake() const OVERRIDE; + virtual bool HasOpenDataStreams() const OVERRIDE; // Called by the headers stream when headers have been received for a stream. virtual void OnStreamHeaders(QuicStreamId stream_id, @@ -175,7 +176,8 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface { QuicPacketCreator::Options* options() { return connection()->options(); } // Returns the number of currently open streams, including those which have - // been implicitly created. + // been implicitly created, but excluding the reserved headers and crypto + // streams. virtual size_t GetNumOpenStreams() const; void MarkWriteBlocked(QuicStreamId id, QuicPriority priority); |