summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/Http2Stream.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-11 07:48:28 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-11 07:48:28 +0100
commitbb9e155841de0e0fce81183a2fe6471f5c4df288 (patch)
tree4e7d1f77a0747b6a9e430f7406047d6c8ddf383a /netwerk/protocol/http/Http2Stream.h
parentaaa70dac618e0f56ea3fbe307f3a157360a79069 (diff)
downloadUXP-bb9e155841de0e0fce81183a2fe6471f5c4df288.tar
UXP-bb9e155841de0e0fce81183a2fe6471f5c4df288.tar.gz
UXP-bb9e155841de0e0fce81183a2fe6471f5c4df288.tar.lz
UXP-bb9e155841de0e0fce81183a2fe6471f5c4df288.tar.xz
UXP-bb9e155841de0e0fce81183a2fe6471f5c4df288.zip
Bug 1322373 - TLS 1.3 early-data for http/2
Diffstat (limited to 'netwerk/protocol/http/Http2Stream.h')
-rw-r--r--netwerk/protocol/http/Http2Stream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/netwerk/protocol/http/Http2Stream.h b/netwerk/protocol/http/Http2Stream.h
index 452db5fe0..968461ee4 100644
--- a/netwerk/protocol/http/Http2Stream.h
+++ b/netwerk/protocol/http/Http2Stream.h
@@ -154,6 +154,10 @@ public:
const nsACString &origin,
RefPtr<nsStandardURL> &url);
+ // Mirrors nsAHttpTransaction
+ bool Do0RTT();
+ nsresult Finish0RTT(bool aRestart, bool aAlpnIgnored);
+
protected:
static void CreatePushHashKey(const nsCString &scheme,
const nsCString &hostHeader,
@@ -328,6 +332,8 @@ private:
// and flow control has not yet kicked in.
SimpleBuffer mSimpleBuffer;
+ bool mAttempting0RTT;
+
/// connect tunnels
public:
bool IsTunnel() { return mIsTunnel; }