1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT.

This commit is contained in:
wolfbeast
2020-01-18 13:17:09 +01:00
committed by Roy Tam
parent a448ed3c0c
commit c8f73fb28e
+6 -2
View File
@@ -1478,8 +1478,12 @@ bool
Http2Stream::Do0RTT()
{
MOZ_ASSERT(mTransaction);
mAttempting0RTT = true;
return mTransaction->Do0RTT();
if (mTransaction->Do0RTT()) {
mAttempting0RTT = true;
} else {
mAttempting0RTT = false;
}
return mAttempting0RTT;
}
nsresult