diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-18 02:08:53 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-18 02:08:53 +0100 |
commit | a2073c54b4d86b0049807b8c427209dc17388ece (patch) | |
tree | 520eca4b38737e3876a84de639d138f28bc684d1 /netwerk/protocol/http/Http2Stream.cpp | |
parent | 67d336a6f27889bdef4723194b6611d049830266 (diff) | |
download | UXP-a2073c54b4d86b0049807b8c427209dc17388ece.tar UXP-a2073c54b4d86b0049807b8c427209dc17388ece.tar.gz UXP-a2073c54b4d86b0049807b8c427209dc17388ece.tar.lz UXP-a2073c54b4d86b0049807b8c427209dc17388ece.tar.xz UXP-a2073c54b4d86b0049807b8c427209dc17388ece.zip |
Revert "No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT."
This reverts commit 67d336a6f27889bdef4723194b6611d049830266.
Diffstat (limited to 'netwerk/protocol/http/Http2Stream.cpp')
-rw-r--r-- | netwerk/protocol/http/Http2Stream.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/netwerk/protocol/http/Http2Stream.cpp b/netwerk/protocol/http/Http2Stream.cpp index 4401a2612..22d8142c9 100644 --- a/netwerk/protocol/http/Http2Stream.cpp +++ b/netwerk/protocol/http/Http2Stream.cpp @@ -1478,12 +1478,8 @@ bool Http2Stream::Do0RTT() { MOZ_ASSERT(mTransaction); - if mTransaction->Do0RTT() { - mAttempting0RTT = true; - } else { - mAttempting0RTT = false; - } - return mAttempting0RTT; + mAttempting0RTT = true; + return mTransaction->Do0RTT(); } nsresult |