diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 08:58:56 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 08:58:56 +0000 |
commit | 96ce157700538c452cb2858082bb9be9201eef22 (patch) | |
tree | 6ed84529115789cd4fe209aef734f8d44330db77 /net/spdy | |
parent | cd7ba78de48f9e197ab90858d1c23a94cb790a10 (diff) | |
download | chromium_src-96ce157700538c452cb2858082bb9be9201eef22.zip chromium_src-96ce157700538c452cb2858082bb9be9201eef22.tar.gz chromium_src-96ce157700538c452cb2858082bb9be9201eef22.tar.bz2 |
Add constants for HTTP/2 connection header prefix
This lands server change 50210381.
R=rch@chromium.org
Review URL: https://codereview.chromium.org/21116007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r-- | net/spdy/spdy_protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/spdy/spdy_protocol.h b/net/spdy/spdy_protocol.h index 97d0eca..8232c82 100644 --- a/net/spdy/spdy_protocol.h +++ b/net/spdy/spdy_protocol.h @@ -255,6 +255,13 @@ const char kV3Dictionary[] = { }; const int kV3DictionarySize = arraysize(kV3Dictionary); +// The HTTP/2 connection header prefix, which must be the first bytes +// sent by the client upon starting an HTTP/2 connection, and which +// must be followed by a SETTINGS frame. +const char kHttp2ConnectionHeaderPrefix[] = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"; +const int kHttp2ConnectionHeaderPrefixSize = + arraysize(kHttp2ConnectionHeaderPrefix); + // Types of SPDY frames. enum SpdyFrameType { DATA = 0, |