mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
3c88dffd32
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 |
||
---|---|---|
.. | ||
broadcast_channel | ||
console | ||
crypto | ||
fetch | ||
ffi | ||
http | ||
net | ||
timers | ||
tls | ||
url | ||
web | ||
webgpu | ||
webidl | ||
websocket | ||
webstorage |