mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 01:27:30 +09:00
Bug 1344890 - h2 tls 1.3 early data problem with https://echo.filippo.io/foo
This commit is contained in:
parent
202ca6d067
commit
62dc2168b0
1 changed files with 5 additions and 0 deletions
|
|
@ -2491,6 +2491,7 @@ nsHttpTransaction::Do0RTT()
|
||||||
nsresult
|
nsresult
|
||||||
nsHttpTransaction::Finish0RTT(bool aRestart, bool aAlpnChanged /* ignored */)
|
nsHttpTransaction::Finish0RTT(bool aRestart, bool aAlpnChanged /* ignored */)
|
||||||
{
|
{
|
||||||
|
LOG(("nsHttpTransaction::Finish0RTT %p %d %d\n", this, aRestart, aAlpnChanged));
|
||||||
MOZ_ASSERT(m0RTTInProgress);
|
MOZ_ASSERT(m0RTTInProgress);
|
||||||
m0RTTInProgress = false;
|
m0RTTInProgress = false;
|
||||||
if (aRestart) {
|
if (aRestart) {
|
||||||
|
|
@ -2502,6 +2503,10 @@ nsHttpTransaction::Finish0RTT(bool aRestart, bool aAlpnChanged /* ignored */)
|
||||||
} else {
|
} else {
|
||||||
return NS_ERROR_FAILURE;
|
return NS_ERROR_FAILURE;
|
||||||
}
|
}
|
||||||
|
} else if (!mConnected) {
|
||||||
|
// this is code that was skipped in ::ReadSegments while in 0RTT
|
||||||
|
mConnected = true;
|
||||||
|
mConnection->GetSecurityInfo(getter_AddRefs(mSecurityInfo));
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue