1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext/http
Matt Mastracci 687a939588
fix(ext/http): Ensure Deno.serve works across --watch restarts (#18998)
Fixes #16699 and #18960 by ensuring that we release our HTTP
`spawn_local` tasks when the HTTP resource is dropped.

Because our cancel handle was being projected from the resource via
`RcMap`, the resource was never `Drop`ped. By splitting the handle out
into its own `Rc`, we can avoid keeping the resource alive and let it
drop to cancel everything.
2023-05-08 09:52:56 +02:00
..
benches chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
00_serve.js refactor: migrate async ops to generated wrappers (#18937) 2023-05-01 17:40:00 +02:00
01_http.js refactor: migrate async ops to generated wrappers (#18937) 2023-05-01 17:40:00 +02:00
Cargo.toml chore: forward v1.33.2 release commit to main (#18990) 2023-05-04 19:19:35 +02:00
compressible.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
http_next.rs fix(ext/http): Ensure Deno.serve works across --watch restarts (#18998) 2023-05-08 09:52:56 +02:00
lib.rs fix(ext/http): internal upgradeHttpRaw works with "Deno.serve()" API (#18859) 2023-04-27 00:58:18 +02:00
network_buffered_stream.rs refactor(ext/http): comments for h2c code (#18833) 2023-04-25 12:41:01 +02:00
reader_stream.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
README.md chore: add README to ext/http/ (#11958) 2021-09-08 20:48:28 +02:00
request_body.rs feat(ext/http): Rework Deno.serve using hyper 1.0-rc3 (#18619) 2023-04-22 11:48:21 -06:00
request_properties.rs feat(ext/http): Rework Deno.serve using hyper 1.0-rc3 (#18619) 2023-04-22 11:48:21 -06:00
response_body.rs feat(ext/http): Rework Deno.serve using hyper 1.0-rc3 (#18619) 2023-04-22 11:48:21 -06:00
websocket_upgrade.rs fix(ext/http): internal upgradeHttpRaw works with "Deno.serve()" API (#18859) 2023-04-27 00:58:18 +02:00

deno_http

This crate implements server-side HTTP based on primitives from the Fetch API.