tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit d735f7f7b8fc5106df345ea9e92bec74a9339cf5
parent 4851a16d3455aa288c5544a76d553728deda78d4
Author: Kershaw Chang <kershaw@mozilla.com>
Date:   Fri, 17 Oct 2025 12:43:31 +0000

Bug 1994314 - Treat NS_ERROR_NET_TIMEOUT_EXTERNAL as a soft error, r=necko-reviewers,sunil

Treat NS_ERROR_NET_TIMEOUT_EXTERNAL as a soft error, since a single TRR timeout shouldn’t close the entire DoH connection.

Differential Revision: https://phabricator.services.mozilla.com/D268873

Diffstat:
Mnetwerk/protocol/http/ASpdySession.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/netwerk/protocol/http/ASpdySession.h b/netwerk/protocol/http/ASpdySession.h @@ -79,7 +79,8 @@ class ASpdySession : public nsAHttpTransaction { code == NS_BINDING_ABORTED || code == NS_BINDING_REDIRECTED || code == NS_ERROR_INVALID_CONTENT_ENCODING || code == NS_BINDING_RETARGETED || - code == NS_ERROR_CORRUPTED_CONTENT); + code == NS_ERROR_CORRUPTED_CONTENT || + code == NS_ERROR_NET_TIMEOUT_EXTERNAL); } virtual void SetCleanShutdown(bool) = 0;