-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
large multi-chunk GRPC responses get stuck #24552
Labels
Comments
rnbguy
changed the title
multi-chunk GRPC response gets stuck
large multi-chunk GRPC responses get stuck
Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: