mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58: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
|
|
@ -248,6 +248,13 @@ private:
|
|||
|
||||
// Start the Spdy transaction handler when NPN indicates spdy/*
|
||||
void StartSpdy(uint8_t versionLevel);
|
||||
// Like the above, but do the bare minimum to do 0RTT data, so we can back
|
||||
// it out, if necessary
|
||||
void Start0RTTSpdy(uint8_t versionLevel);
|
||||
|
||||
// Helpers for Start*Spdy
|
||||
nsresult TryTakeSubTransactions(nsTArray<RefPtr<nsAHttpTransaction> > &list);
|
||||
nsresult MoveTransactionsToSpdy(nsresult status, nsTArray<RefPtr<nsAHttpTransaction> > &list);
|
||||
|
||||
// Directly Add a transaction to an active connection for SPDY
|
||||
nsresult AddTransaction(nsAHttpTransaction *, int32_t);
|
||||
|
|
@ -370,6 +377,8 @@ private:
|
|||
// the handsake.
|
||||
int64_t mContentBytesWritten0RTT;
|
||||
bool mEarlyDataNegotiated; //Only used for telemetry
|
||||
nsCString mEarlyNegotiatedALPN;
|
||||
bool mDid0RTTSpdy;
|
||||
};
|
||||
|
||||
} // namespace net
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue