Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT.
This commit is contained in:
parent
46d1844658
commit
3b7c93782f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue