mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Bug 1322373 - TLS 1.3 early-data for http/2
This commit is contained in:
parent
0f08cb0c4f
commit
202ca6d067
11 changed files with 342 additions and 82 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue