1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/ext
Matt Mastracci e6e708e46c
refactor: use resourceForReadableStream for fetch (#20217)
Switch `ext/fetch` over to `resourceForReadableStream` to simplify and
unify implementation with `ext/serve`. This allows us to work in Rust
with resources only.

Two additional changes made to `resourceForReadableStream` were
required:

- Add an optional length to `resourceForReadableStream` which translates
to `size_hint`
 - Fix a bug where writing to a closed stream that was full would panic
2023-12-01 08:56:10 -07:00
..
broadcast_channel chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
cache chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
console chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
cron chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
crypto chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
fetch refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
ffi chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
fs chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
http chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
io chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
kv chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
napi chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
net chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
node refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
tls chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
url chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
web refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
webidl chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
websocket chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
webstorage chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00