Bug 1322373 - TLS 1.3 early-data for http/2

This commit is contained in:
janekptacijarabaci 2018-02-11 07:48:28 +01:00 committed by Roy Tam
commit 202ca6d067
11 changed files with 342 additions and 82 deletions

View file

@ -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; }