deno/ext/http
Divy Srivastava 48ccb67131
chore(ext/http): add "legacy_abort" runtime flag (#28371)
Deno.serve `Request` abort signals are aborted by default even when it
is finished successfully. This PR gates this behavior behind the
"legacy_abort" which is the default right now.

Turning the `no_legacy_abort` runtime option on is a **breaking change**
and will only abort request signals when there is a failure, thereby
cannot be used to determine if the request finished. This aligns with
`fetch` API.

Ref https://github.com/denoland/deno/issues/27005
2025-03-22 08:13:57 +05:30
..
benches chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
00_serve.ts chore(ext/http): add "legacy_abort" runtime flag (#28371) 2025-03-22 08:13:57 +05:30
01_http.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
02_websocket.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
Cargo.toml chore: forward v2.2.5 release commit to main (#28579) 2025-03-21 06:25:03 -07:00
compressible.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
fly_accept_encoding.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
http_next.rs chore(ext/http): add "legacy_abort" runtime flag (#28371) 2025-03-22 08:13:57 +05:30
lib.rs chore(ext/http): add "legacy_abort" runtime flag (#28371) 2025-03-22 08:13:57 +05:30
network_buffered_stream.rs refactor: reduce dependency on futures crate (#28515) 2025-03-17 14:14:19 +00:00
reader_stream.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md chore: add README to ext/http/ (#11958) 2021-09-08 20:48:28 +02:00
request_body.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
request_properties.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
response_body.rs refactor: reduce dependency on futures crate (#28515) 2025-03-17 14:14:19 +00:00
service.rs chore(ext/http): add "legacy_abort" runtime flag (#28371) 2025-03-22 08:13:57 +05:30
websocket_upgrade.rs refactor: replace memmem with memchr (#28516) 2025-03-17 09:33:51 -04:00

deno_http

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