summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/ASpdySession.cpp
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/ASpdySession.cpp
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/ASpdySession.cpp')
-rw-r--r--netwerk/protocol/http/ASpdySession.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/netwerk/protocol/http/ASpdySession.cpp b/netwerk/protocol/http/ASpdySession.cpp
index 6bd54c7c0..f22c326d1 100644
--- a/netwerk/protocol/http/ASpdySession.cpp
+++ b/netwerk/protocol/http/ASpdySession.cpp
@@ -32,7 +32,8 @@ ASpdySession::~ASpdySession() = default;
ASpdySession *
ASpdySession::NewSpdySession(uint32_t version,
- nsISocketTransport *aTransport)
+ nsISocketTransport *aTransport,
+ bool attemptingEarlyData)
{
// This is a necko only interface, so we can enforce version
// requests as a precondition
@@ -46,7 +47,7 @@ ASpdySession::NewSpdySession(uint32_t version,
Telemetry::Accumulate(Telemetry::SPDY_VERSION2, version);
- return new Http2Session(aTransport, version);
+ return new Http2Session(aTransport, version, attemptingEarlyData);
}
SpdyInformation::SpdyInformation()