From 512f78874adfd1de407d087fc2e15716ef9fcfe2 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 5 Nov 2018 15:48:49 +0100 Subject: #863 Part 1: Make sending of http upgrade-insecure-requests optional Defaults to false if not configured. --- netwerk/protocol/http/nsHttpChannel.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'netwerk/protocol/http/nsHttpChannel.h') diff --git a/netwerk/protocol/http/nsHttpChannel.h b/netwerk/protocol/http/nsHttpChannel.h index 2e24d6e81..152cf1503 100644 --- a/netwerk/protocol/http/nsHttpChannel.h +++ b/netwerk/protocol/http/nsHttpChannel.h @@ -597,6 +597,10 @@ private: HttpChannelSecurityWarningReporter* mWarningReporter; RefPtr mParentChannel; + + // Whether we send opportunistic encryption requests. + bool mSendUpgradeRequest; + protected: virtual void DoNotifyListenerCleanup() override; -- cgit v1.2.3