Bug 1802471 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In bug 1768581 we've seen that a late creation of an HTTP channel can lead to an unnecessary initialization of the cookie DB (and who knows what else) before it actually refuses to work after net-teardown.

The very beginning of `nsHttpChannel::BeginConnect` might be the right place to add an `AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownNetTeardown)` check and bail out with an error in case (which?).
In bug 1768581 we've seen that a late creation after net-teardown of an HTTP channel can lead to an unnecessary initialization of the cookie DB (and who knows what else) before it actually refuses to work.

The very beginning of `nsHttpChannel::BeginConnect` might be the right place to add an `AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownNetTeardown)` check and bail out with an error in case (which?).

Back to Bug 1802471 Comment 0