Skip to content

Commit ffbc898

Browse files
committed
Bug 2002687 - Don't retry transaction during shutdown, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D274274 UltraBlame original commit: a7e5bfa46961f26d8558a14399c5772f6d119c90
1 parent c91183b commit ffbc898

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

netwerk/protocol/http/nsHttpTransaction.cpp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12086,6 +12086,34 @@ return
1208612086
NS_ERROR_NET_RESET
1208712087
;
1208812088
}
12089+
/
12090+
/
12091+
Let
12092+
'
12093+
s
12094+
not
12095+
restart
12096+
during
12097+
shutdown
12098+
.
12099+
if
12100+
(
12101+
AppShutdown
12102+
:
12103+
:
12104+
IsInOrBeyond
12105+
(
12106+
ShutdownPhase
12107+
:
12108+
:
12109+
AppShutdownConfirmed
12110+
)
12111+
)
12112+
{
12113+
return
12114+
NS_ERROR_ILLEGAL_DURING_SHUTDOWN
12115+
;
12116+
}
1208912117
LOG
1209012118
(
1209112119
(

0 commit comments

Comments
 (0)