mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Return proper error if the nss layer encounters an error on the http
tunnel.
This commit is contained in:
parent
d93b231bab
commit
0363b2d358
3 changed files with 30 additions and 26 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue