summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpChannel.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-05 15:48:49 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-05 15:48:49 +0100
commit512f78874adfd1de407d087fc2e15716ef9fcfe2 (patch)
tree12ed335829e2c83ed7678e2b4414f14f7fd72b6a /netwerk/protocol/http/nsHttpChannel.h
parent79487a1a05a9e912c63d7a5259db2eccfc59af2b (diff)
downloadUXP-512f78874adfd1de407d087fc2e15716ef9fcfe2.tar
UXP-512f78874adfd1de407d087fc2e15716ef9fcfe2.tar.gz
UXP-512f78874adfd1de407d087fc2e15716ef9fcfe2.tar.lz
UXP-512f78874adfd1de407d087fc2e15716ef9fcfe2.tar.xz
UXP-512f78874adfd1de407d087fc2e15716ef9fcfe2.zip
#863 Part 1: Make sending of http upgrade-insecure-requests optional
Defaults to false if not configured.
Diffstat (limited to 'netwerk/protocol/http/nsHttpChannel.h')
-rw-r--r--netwerk/protocol/http/nsHttpChannel.h4
1 files changed, 4 insertions, 0 deletions
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<ADivertableParentChannel> mParentChannel;
+
+ // Whether we send opportunistic encryption requests.
+ bool mSendUpgradeRequest;
+
protected:
virtual void DoNotifyListenerCleanup() override;