Repository navigation
Split STREAM frames between SendableFrames::path_specific and ::other - #858
Merged
matheus23 merged 2 commits intoOct 23, 2026
Merged
Conversation
|
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/noq/pr/858/docs/noq/ Last updated: 2026-10-23T09:49:04Z |
flub
commented
Oct 22, 2026
| let need_loss_probe = self.spaces[space_id].for_path(path_id).loss_probes > 0; | ||
|
|
||
| if (can_send.other || can_send.stream_data) && !need_loss_probe && !can_send.close { | ||
| if (can_send.other || can_send.space_specific) && !need_loss_probe && !can_send.close { |
Collaborator
Author
There was a problem hiding this comment.
space_specific was previously ignored in the cc check. this is kind of an unrelated bugfix but also it becomes a lot more important now that (some) STREAM frames are space-specific.
Otherwise we might start building a packet based on sticky STREAM frames, but then not put any such frames in the packet because the path is not yet validated.
matheus23
approved these changes
Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Does this work? Is it simpler?
It removes mixing scheduling info into the can_send world.