Skip to content

Add DTLS close state predicates#156

Merged
algesten merged 1 commit into
mainfrom
expose-dtls-close-state
Jul 5, 2026
Merged

Add DTLS close state predicates#156
algesten merged 1 commit into
mainfrom
expose-dtls-close-state

Conversation

@algesten

@algesten algesten commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary:

  • Add public Dtls::is_closing() and Dtls::is_closed() predicates with drain-aware shutdown semantics.
  • Keep DTLS 1.2 closed reporting false until queued close_notify packets and CloseNotify events are polled out.
  • Cover DTLS 1.2 reciprocal close and DTLS 1.3 half-close transitions in edge tests.

Closes #155

@algesten algesten force-pushed the expose-dtls-close-state branch from 8d8aba5 to ec0283f Compare July 5, 2026 10:01
@algesten algesten merged commit 1cf87ce into main Jul 5, 2026
46 checks passed
@algesten algesten deleted the expose-dtls-close-state branch July 5, 2026 10:16
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.

Expose DTLS is_closing and is_closed semantics

1 participant