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
commit c8f73fb28e

View file

@ -1478,8 +1478,12 @@ bool
Http2Stream::Do0RTT() Http2Stream::Do0RTT()
{ {
MOZ_ASSERT(mTransaction); MOZ_ASSERT(mTransaction);
if (mTransaction->Do0RTT()) {
mAttempting0RTT = true; mAttempting0RTT = true;
return mTransaction->Do0RTT(); } else {
mAttempting0RTT = false;
}
return mAttempting0RTT;
} }
nsresult nsresult