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

Flush DataChannelCmd::StartForward* commands #316

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

RyanAD
Copy link
Contributor

@RyanAD RyanAD commented Dec 21, 2023

Without flushing this may sit in a kernel buffer and we won't know if the channel is still alive. This is particularly problematic for the TCP connection pool.

I added flushing to the UDP handling as well, but it's less critical there.

I added a write_and_flush to helper, and then use that where needed.

Without flushing this may sit in a kernel buffer and we won't
know if the channel is still alive. This is particularly problematic
for the TCP connection pool.
@rapiz1 rapiz1 merged commit 6322102 into rapiz1:main Feb 14, 2024
5 checks passed
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.

2 participants