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

Configure closing connection on eos #9

Merged
merged 1 commit into from
May 13, 2024

Conversation

wkozyra95
Copy link
Contributor

In most cases, you want to close the connection after the stream is finished, but in some scenarios, this might lead to loss of data.

Example scenario:
After the socket is closed it might have some data in the sendbuffer. Normally this data would be sent eventually, but If the other side of the connection is consuming data slowly then this process might timeout and data in the send buffer would get lost.

@wkozyra95 wkozyra95 marked this pull request as ready for review May 13, 2024 10:52
@wkozyra95 wkozyra95 requested review from mat-hek and Noarkhh May 13, 2024 10:52
@wkozyra95 wkozyra95 merged commit 5d7d0f1 into master May 13, 2024
4 checks passed
@wkozyra95 wkozyra95 deleted the @wkozyra95/configure_auto_close_on_eos branch May 13, 2024 13:41
@wkozyra95 wkozyra95 restored the @wkozyra95/configure_auto_close_on_eos branch May 13, 2024 13: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.

3 participants