1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
Aaron O'Mullan 3c88dffd32
fix(http): panic when responding to a closed conn (#12216)
Our oneshot receiver in `HyperService::call` would unwrap and panic, the `.await` on the oneshot receiver happens when the sender is dropped.

The sender is dropped in `op_http_response` because:
1. We take `ResponseSenderResource`
2. Then get `ConnResource` and early exit on failure (conn already closed)
3. The taken sender then gets dropped in this early exit before any response is sent over the channel

Fallbacking to returning a dummy response to hyper seems to be a fine quickfix
2021-09-25 13:22:19 +02:00
..
broadcast_channel chore: bump crate versions for 1.14.1 (#12172) 2021-09-22 06:53:47 +10:00
console chore: bump crate versions for 1.14.1 (#12172) 2021-09-22 06:53:47 +10:00
crypto fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
fetch fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
ffi chore: bump crate versions for 1.14.1 (#12172) 2021-09-22 06:53:47 +10:00
http fix(http): panic when responding to a closed conn (#12216) 2021-09-25 13:22:19 +02:00
net chore(ext/net): improve embedder friendliness (#12178) 2021-09-22 11:12:08 +02:00
timers fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
tls chore: bump crate versions for 1.14.1 (#12172) 2021-09-22 06:53:47 +10:00
url fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
web fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
webgpu chore: bump crate versions for 1.14.1 (#12172) 2021-09-22 06:53:47 +10:00
webidl fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
websocket chore(ext/net): improve embedder friendliness (#12178) 2021-09-22 11:12:08 +02:00
webstorage chore: bump crate versions for 1.14.1 (#12172) 2021-09-22 06:53:47 +10:00