summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-17 17:11:06 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-17 17:11:06 +0100
commit67d336a6f27889bdef4723194b6611d049830266 (patch)
tree0c12d48070ecb0afb2e0e2a23a63fce94547c2a7 /netwerk/protocol/http
parente4c4c20e7e539d891c3f10b6ef5608c08699c077 (diff)
downloadUXP-67d336a6f27889bdef4723194b6611d049830266.tar
UXP-67d336a6f27889bdef4723194b6611d049830266.tar.gz
UXP-67d336a6f27889bdef4723194b6611d049830266.tar.lz
UXP-67d336a6f27889bdef4723194b6611d049830266.tar.xz
UXP-67d336a6f27889bdef4723194b6611d049830266.zip
No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT.
Diffstat (limited to 'netwerk/protocol/http')
-rw-r--r--netwerk/protocol/http/Http2Stream.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/netwerk/protocol/http/Http2Stream.cpp b/netwerk/protocol/http/Http2Stream.cpp
index 22d8142c9..4401a2612 100644
--- a/netwerk/protocol/http/Http2Stream.cpp
+++ b/netwerk/protocol/http/Http2Stream.cpp
@@ -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