diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-22 20:11:09 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-22 20:11:09 +0100 |
commit | a4013251854b88cacf4eeb221c36e696f468ed64 (patch) | |
tree | e5c7fcb71b5e5910dfb879c22088424863675767 /netwerk/protocol/http/TunnelUtils.h | |
parent | 8ca6744b2ff05ef91d74e950f387df63b0306925 (diff) | |
download | UXP-a4013251854b88cacf4eeb221c36e696f468ed64.tar UXP-a4013251854b88cacf4eeb221c36e696f468ed64.tar.gz UXP-a4013251854b88cacf4eeb221c36e696f468ed64.tar.lz UXP-a4013251854b88cacf4eeb221c36e696f468ed64.tar.xz UXP-a4013251854b88cacf4eeb221c36e696f468ed64.zip |
Return proper error if the nss layer encounters an error on the http
tunnel.
Diffstat (limited to 'netwerk/protocol/http/TunnelUtils.h')
-rw-r--r-- | netwerk/protocol/http/TunnelUtils.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netwerk/protocol/http/TunnelUtils.h b/netwerk/protocol/http/TunnelUtils.h index 7e491a0d7..4a003082e 100644 --- a/netwerk/protocol/http/TunnelUtils.h +++ b/netwerk/protocol/http/TunnelUtils.h @@ -93,10 +93,11 @@ class TLSFilterTransaction; class NudgeTunnelCallback : public nsISupports { public: - virtual void OnTunnelNudged(TLSFilterTransaction *) = 0; + virtual nsresult OnTunnelNudged(TLSFilterTransaction *) = 0; }; -#define NS_DECL_NUDGETUNNELCALLBACK void OnTunnelNudged(TLSFilterTransaction *) override; +#define NS_DECL_NUDGETUNNELCALLBACK \ + nsresult OnTunnelNudged(TLSFilterTransaction *) override; class TLSFilterTransaction final : public nsAHttpTransaction @@ -170,7 +171,7 @@ private: nsresult mFilterReadCode; bool mForce; - bool mReadSegmentBlocked; + nsresult mReadSegmentReturnValue; uint32_t mNudgeCounter; }; |