Move the parse of session->ob_reg after session->ob_syn. #1312
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is tentative change. Feedback is very welcome! Thanks!
HTTP2 extension frames are stored in session->ob_reg, and HTTP2 headers are stored in session->session->ob_syn. When session->ob_reg is processed before session->session->ob_syn, extension frames can be handled before a stream is created (a stream can only be created after headers are received.). This change moves session->session->ob_reg after session->session->ob_syn.
I run test locally, and didn't see new failures caused by the change.