You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this example, I realized, Deno parses u16::MAX many bytes in four chunks - 16_384, 16_384, 16_384 and 16_383 - then the poll gets stuck if there are more bytes pending.
This PR adds logic to release window capacity after reading the chunks
from the stream. Without it, large response (more than `u16::MAX`) may
fill up the capacity and the whole response can't be read.
Closes#24552Closes#24305
Version: Deno 1.45.1
If a response has more than
u16::MAX
many bytes, these polls get stuck.deno/ext/node/ops/http2.rs
Lines 455 to 477 in 8cbf81c
I created a simple pingpong project to reproduce this using a python grpc server: https://github.com/rnbguy/deno-grpc-multi-chunk
Using this example, I realized, Deno parses
u16::MAX
many bytes in four chunks -16_384
,16_384
,16_384
and16_383
- then the poll gets stuck if there are more bytes pending.Ref: #24147 (comment)
The text was updated successfully, but these errors were encountered: