1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/ext
Matt Mastracci 625d09937a
fix(ext/web): fix potential leak of unread buffers (#23923)
Because the buffers are `MaybeUninit<V8Slice<u8>`, and the owner of the
`BoundedBufferChannel` is not obligated to read each and every bit of
data, we may find that some buffers were not automatically dropped if
unread by the time the `BoundedBufferChannelInner` is dropped.

Possible repro:

```
Deno.serve(() => new Response(new ReadableStream({ start(controller) { controller.enqueue(new Uint8Array(100_000_000))  } })));
```

```bash
while true; do curl localhost:8000 | dd count=1; done
```
2024-05-21 17:45:33 +00:00
..
broadcast_channel chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
cache chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
canvas chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
console chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
cron chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
crypto chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
fetch chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
ffi chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
fs chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
http chore: bump deno_http version (#23866) 2024-05-17 15:50:49 +00:00
io chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
kv chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
napi chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
net chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
node perf: analyze cjs re-exports in parallel (#23894) 2024-05-21 10:35:51 -04:00
tls chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
url chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
web fix(ext/web): fix potential leak of unread buffers (#23923) 2024-05-21 17:45:33 +00:00
webgpu fix(ext/webgpu): Allow depthClearValue to be undefined when depthLoadOp is not "clear" (#23850) 2024-05-20 13:47:04 -07:00
webidl chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
websocket chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00
webstorage chore: forward v1.43.4 commit to main (#23861) 2024-05-17 03:57:53 +02:00