summaryrefslogtreecommitdiff
path: root/runtime/lib.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-08-28 13:29:34 -0600
committerGitHub <noreply@github.com>2023-08-28 13:29:34 -0600
commit9198bbd454c39f4d62f43ea729affe8cb789304a (patch)
tree6b644622d4788ca7626939b6e9fd26518d299a4d /runtime/lib.rs
parent539e5032d372679869dcee4e2e63f2116288b435 (diff)
fix(ext/http): don't panic on stream responses in cancelled requests (#20316)
When a TCP connection is force-closed (ie: browser refresh), the underlying future we pass to Hyper is dropped which may cause us to try to drop the body resource while the OpState lock is still held. Preconditions for this bug to trigger: - The body resource must have been taken - The response must return a resource (which requires us to take the OpState lock) - The TCP connection must have been dropped before this Fixes #20315 and #20298
Diffstat (limited to 'runtime/lib.rs')
0 files changed, 0 insertions, 0 deletions