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

Add Delay Send API Flag #995

Merged
merged 18 commits into from
Feb 26, 2021
Merged

Add Delay Send API Flag #995

merged 18 commits into from
Feb 26, 2021

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Nov 9, 2020

Adds a new API send flag for StreamSend that allows the app to indicate that the send shouldn't be done immediately. This is meant to be used as a hint to QUIC to indicate "more is coming". This allows the app to control the amount of "send batching" that occurs at the QUIC/UDP layer.

@nibanks nibanks marked this pull request as ready for review November 12, 2020 20:53
@nibanks nibanks requested a review from a team as a code owner November 12, 2020 20:53
@ThadHouse
Copy link
Contributor

Based on a suggestion from .NET, I feel like allowing a 0 length send with the flush flag is a good idea to add. A method to explicitly flush without checking that you're at the end of your data actively while looping is a good idea to have, especially for high level wrappers. Not worth adding a new API to do in C, especially if we could just plumb 0 length send to work.

@nibanks nibanks added the Area: Core Related to the shared, core protocol logic label Nov 20, 2020
@nibanks nibanks merged commit f1b6996 into main Feb 26, 2021
@nibanks nibanks deleted the nibanks/delay-send branch February 26, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: API Area: Core Related to the shared, core protocol logic Area: Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants