mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
e5819777c3
Use HttpRecord as response body so requests can be tracked all the way to response body completion. This allows Request properties to be accessed while the response body is streaming. Graceful shutdown now awaits a future instead of async spinning waiting for requests to finish. On the minimal benchmark this refactor improves performance an additional 2% over pooling alone for a net 3% increase over the previous deno main branch. Builds upon https://github.com/denoland/deno/pull/20809 and https://github.com/denoland/deno/pull/20770. --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com> |
||
---|---|---|
.. | ||
benches | ||
00_serve.js | ||
01_http.js | ||
Cargo.toml | ||
compressible.rs | ||
http_next.rs | ||
hyper_util_tokioio.rs | ||
lib.rs | ||
network_buffered_stream.rs | ||
reader_stream.rs | ||
README.md | ||
request_body.rs | ||
request_properties.rs | ||
response_body.rs | ||
service.rs | ||
websocket_upgrade.rs |