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/nsHttpConnection.cpp | |
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/nsHttpConnection.cpp')
-rw-r--r-- | netwerk/protocol/http/nsHttpConnection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/protocol/http/nsHttpConnection.cpp b/netwerk/protocol/http/nsHttpConnection.cpp index 71a08e177..505d849c0 100644 --- a/netwerk/protocol/http/nsHttpConnection.cpp +++ b/netwerk/protocol/http/nsHttpConnection.cpp @@ -535,16 +535,16 @@ npnComplete: return true; } -void +nsresult nsHttpConnection::OnTunnelNudged(TLSFilterTransaction *trans) { MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread); LOG(("nsHttpConnection::OnTunnelNudged %p\n", this)); if (trans != mTLSFilter) { - return; + return NS_OK; } LOG(("nsHttpConnection::OnTunnelNudged %p Calling OnSocketWritable\n", this)); - OnSocketWritable(); + return OnSocketWritable(); } // called on the socket thread |