Skip to content
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

Occassionally with HTTP2, server does not send "End Stream" flag as True when all the data has been sent in response #226

Open
saudawar opened this issue May 9, 2024 · 0 comments

Comments

@saudawar
Copy link

saudawar commented May 9, 2024

Hypercorn Version: 0.16.0
Python Version: 3.9.18
Operating system: Oracle linux 8
Environment: Kubernetes

We have observed that when HTTP2 protocol is used, then server occassionally does not set the "End Stream" in the last datagram of the response.

From application point of view, complete data (JSON formatted) has been sent over multiple datagrams. It is expected that the server must set End Stream flag to True to indicate to client that complete data has been sent but this is not observed some times.

This has mostly been observed when response data size is large and spans over multiple datagrams as depicted in the attached screenshot.

image

In packet 4256, all the data is complete as verified from the sent bytes but the appropriate flags are not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant