summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/TunnelUtils.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 20:11:09 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 20:11:09 +0100
commita4013251854b88cacf4eeb221c36e696f468ed64 (patch)
treee5c7fcb71b5e5910dfb879c22088424863675767 /netwerk/protocol/http/TunnelUtils.h
parent8ca6744b2ff05ef91d74e950f387df63b0306925 (diff)
downloadUXP-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.h7
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;
};