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

QPACK: Allow stream cancellation even if the dynamic table was config… #267

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

normanmaurer
Copy link
Member

…ured with max capacity of 0

Motivation:

It is fine to send stream cancellations even if the dynamic table had a capacity of 0 and so was disabled. We didn't follow the spec here and did case a NPE if we received a stream cancellation after the table was configured with capacity of 0.

Modifications:

  • Allow stream cancellation if if the table capacity is 0
  • Add unit test

Result:

Fixes #261 and #252

…ured with max capacity of 0

Motivation:

It is fine to send stream cancellations even if the dynamic table had a capacity of 0 and so was disabled. We didn't follow the spec here and did case a NPE if we received a stream cancellation after the table was configured with capacity of 0.

Modifications:

- Allow stream cancellation if if the table capacity is 0
- Add unit test

Result:

Fixes #261 and #252
@normanmaurer normanmaurer added this to the 0.0.23.Final milestone Dec 1, 2023
@normanmaurer normanmaurer merged commit 6e69097 into main Dec 1, 2023
5 checks passed
@normanmaurer normanmaurer deleted the cancel_zero_capacity branch December 1, 2023 09:41
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

Successfully merging this pull request may close these issues.

NPE in QpackEncoder.streamCancellation()
1 participant