1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00
denoland-deno/ext/http
Matt Mastracci a22388bbd1
fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154)
Fixes for various `Attemped to access invalid request` bugs (#19058,
#15427, #17213).

We did not wait for both a drop event and a completion event before
removing items from the slab table. This ensures that we do so.

In addition, the slab methods are refactored out into `slab.rs` for
maintainability.
2023-05-16 17:00:59 -06:00
..
benches chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
00_serve.js fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -06:00
01_http.js refactor: migrate async ops to generated wrappers (#18937) 2023-05-01 17:40:00 +02:00
Cargo.toml fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -06: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 cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -06:00
lib.rs fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -06: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 refactor(ext/http): generic abstract listeners (#19132) 2023-05-15 16:55:47 +02:00
response_body.rs fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -06:00
slab.rs fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -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.