mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue