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

Fix HTTP/2 304 responses for files don't associate the correct stream ID #6752

Merged
merged 4 commits into from Jan 13, 2022

Conversation

graemerocher
Copy link
Contributor

@graemerocher graemerocher commented Jan 13, 2022

When a 304 response is returned from FileTypeHandler and HTTP/2 is enabled the stream ID is not correctly associated between the request and the response resulting in some browsers (like Firefox) hanging and unable to handle the response

@graemerocher graemerocher added the type: bug Something isn't working label Jan 13, 2022
@graemerocher graemerocher added this to the 3.2.6 milestone Jan 13, 2022
@graemerocher graemerocher changed the title Fix HTTP 304 responses for files don't associate the correct stream ID Fix HTTP/2 304 responses for files don't associate the correct stream ID Jan 13, 2022
graemerocher and others added 2 commits January 13, 2022 13:00
- use common method in NettyStreamedCustomizableResponseType too
@yawkat yawkat marked this pull request as ready for review January 13, 2022 13:17
@yawkat
Copy link
Member

yawkat commented Jan 13, 2022

@graemerocher I also changed NettyStreamedCustomizableResponseType to use the new method

@graemerocher
Copy link
Contributor Author

@jameskleeh could you prioritize merging this, would like to get a snapshot for external testing

@jameskleeh jameskleeh merged commit 9a087a7 into 3.2.x Jan 13, 2022
@jameskleeh jameskleeh deleted the http2-static-asset-serving-bug branch January 13, 2022 15:52
yawkat added a commit that referenced this pull request Jan 21, 2022
… ID (#6752)

* Fix HTTP 304 responses for files don't associate the correct stream ID

* fix checkstyle / make final

* checkstyle

* - test case
- use common method in NettyStreamedCustomizableResponseType too

Co-authored-by: yawkat <jonas.konrad@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants