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

Stale modes #8

Merged
merged 4 commits into from
Oct 1, 2023
Merged

Stale modes #8

merged 4 commits into from
Oct 1, 2023

Conversation

Snawoot
Copy link
Member

@Snawoot Snawoot commented Oct 1, 2023

Introduces new option -stale-mode and additional modes of detection of stale connection:

  • both - old mode, connection is closed as stale when both sides do not produce read events
  • either - new default mode, connection is closed as stale when either side does not produce read events
  • left - connection is closed as stale when accepted (initiated by peer) UDP session does not produce read events
  • right - connection is closed as stale when dialed (initiated by dtlspipe) UDP session does not produce read events

Also changes default idle timeout to 30 seconds.

@Snawoot Snawoot self-assigned this Oct 1, 2023
@Snawoot Snawoot merged commit c8af4c2 into master Oct 1, 2023
@Snawoot Snawoot deleted the stale_modes branch October 1, 2023 14:50
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.

None yet

1 participant