1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
Matt Mastracci 9198bbd454
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
2023-08-28 13:29:34 -06:00
..
broadcast_channel chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
cache chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
console chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
crypto chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
fetch chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
ffi chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
fs chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
http fix(ext/http): don't panic on stream responses in cancelled requests (#20316) 2023-08-28 13:29:34 -06:00
io chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
kv chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
napi chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
net fix(network): adjust Listener type params (#18642) 2023-08-27 20:55:04 +00:00
node fix(node/http): correctly send Content-length header instead of Transfer-Encoding: chunked (#20127) 2023-08-28 09:32:54 +02:00
tls fix(ext/tls): upgrade webpki version (#20285) 2023-08-25 23:40:25 +02:00
url chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
web chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
webidl chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
websocket chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
webstorage chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00