0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00
deno/ext
Laurence Rowe e5819777c3
refactor(ext/http): Use HttpRecord as response body to track until body completion (#20822)
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>
2023-11-13 19:17:31 +00:00
..
broadcast_channel chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
cache chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
console fix(ext/console): fix inspecting iterators error. (#20720) 2023-11-13 20:13:20 +01:00
cron chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
crypto chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
fetch feat(ext/web): add AbortSignal.any() (#21087) 2023-11-13 01:04:11 +01:00
ffi chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
fs chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
http refactor(ext/http): Use HttpRecord as response body to track until body completion (#20822) 2023-11-13 19:17:31 +00:00
io chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
kv chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
napi chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
net chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
node fix(ext/console): fix inspecting iterators error. (#20720) 2023-11-13 20:13:20 +01:00
tls chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
url chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
web feat(ext/web): add AbortSignal.any() (#21087) 2023-11-13 01:04:11 +01:00
webidl chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
websocket chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30
webstorage chore: forward v1.38.1 release commit to main (#21144) 2023-11-10 18:51:34 +05:30