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

HTTP/2, fix crash in handling stream weights #11384

Merged
merged 1 commit into from Jun 29, 2023
Merged

Conversation

icing
Copy link
Contributor

@icing icing commented Jun 26, 2023

  • refs Crash in h2_progress_egress due to NULL stream #11379 where the crash was reported
  • weights may change "on the run", which is why there are checks in general egress handling. These must not trigger when the stream has not been opened yet.
  • add test2404 to reproduce and verify

- Delay the priority handling until the stream has been opened.

- Add test2404 to reproduce and verify.

Weights may change "on the run", which is why there are checks in
general egress handling. These must not trigger when the stream has not
been opened yet.

Reported-by: jbgoog@users.noreply.github.com

Fixes curl#11379
Closes curl#11384
@jay
Copy link
Member

jay commented Jun 28, 2023

This needs to go through CI again because the test wasn't in the makefile. I added that , cleaned up the commit message and force pushed to your branch.

@jay jay merged commit 29f33b3 into curl:master Jun 29, 2023
135 of 146 checks passed
@jay
Copy link
Member

jay commented Jun 29, 2023

Thanks

markg85 pushed a commit to markg85/curl that referenced this pull request Jun 29, 2023
- Delay the priority handling until the stream has been opened.

- Add test2404 to reproduce and verify.

Weights may change "on the run", which is why there are checks in
general egress handling. These must not trigger when the stream has not
been opened yet.

Reported-by: jbgoog@users.noreply.github.com

Fixes curl#11379
Closes curl#11384
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
- Delay the priority handling until the stream has been opened.

- Add test2404 to reproduce and verify.

Weights may change "on the run", which is why there are checks in
general egress handling. These must not trigger when the stream has not
been opened yet.

Reported-by: jbgoog@users.noreply.github.com

Fixes curl#11379
Closes curl#11384
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
- Delay the priority handling until the stream has been opened.

- Add test2404 to reproduce and verify.

Weights may change "on the run", which is why there are checks in
general egress handling. These must not trigger when the stream has not
been opened yet.

Reported-by: jbgoog@users.noreply.github.com

Fixes curl#11379
Closes curl#11384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants