summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_connection.h
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 06:11:43 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 06:11:43 +0000
commit8edeb8d4307a2e841ebe5586b85140f5a5974e0f (patch)
treeede26dfe7e5c357ea7436797f2be57d19939c560 /net/quic/quic_connection.h
parent33902a3dd5eac4267a9838261b5d05066a6010ed (diff)
downloadchromium_src-8edeb8d4307a2e841ebe5586b85140f5a5974e0f.zip
chromium_src-8edeb8d4307a2e841ebe5586b85140f5a5974e0f.tar.gz
chromium_src-8edeb8d4307a2e841ebe5586b85140f5a5974e0f.tar.bz2
Land Recent QUIC changes.
Changing priority so it's unidirectional. It's a bit hacky to do this without a version bump but given that it hasn't made a GFE MPM or a chrome daily build it's "safe enough". Merge internal change: 51263000 Removing a check causing the encrypter to return NULL when packets were serialized out of sequence number order and added NULL checks where the encrypter is used to ensure if this occurred again, it would not be a fatal error. Merge internal change: 51212615 Removing a DCHECK and associated comments about looping forever. Merge internal change: 51211309 A regression test for the gmail multi-stream timeout bug. Merge internal change: 51201046 Fixed the tests in CL 51179724 Merge internal change: 51185931 Q009: now sending a uint32 priority as the first data on a stream. This priority is not yet used: it's stashed in the stream and ignored. Merge internal change: 51179724 R=rch@chromium.org Reuploading the CL https://codereview.chromium.org/23005020/ plus unidirectional priority changes. Review URL: https://chromiumcodereview.appspot.com/23455003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_connection.h')
-rw-r--r--net/quic/quic_connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index ef90d23..c2b0712 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -385,6 +385,8 @@ class NET_EXPORT_PRIVATE QuicConnection
const QuicDecrypter* decrypter() const;
const QuicDecrypter* alternative_decrypter() const;
+ bool is_server() const { return is_server_; }
+
protected:
// Send a packet to the peer using encryption |level|. If |sequence_number|
// is present in the |retransmission_map_|, then contents of this packet will