Skip to content

dtls: split local invalid state errors#126

Merged
algesten merged 1 commit into
algesten:mainfrom
zRedShift:fix/error-taxonomy-transient
May 28, 2026
Merged

dtls: split local invalid state errors#126
algesten merged 1 commit into
algesten:mainfrom
zRedShift:fix/error-taxonomy-transient

Conversation

@zRedShift
Copy link
Copy Markdown
Contributor

Summary

  • add Error::InvalidState for local state-machine invariant failures
  • retag empty peer certificate messages as certificate errors
  • add DTLS 1.2 and DTLS 1.3 regressions for the affected paths

Notes

This keeps the taxonomy narrow: peer/malformed input remains separate from local invalid-state failures. It does not treat transmit queue exhaustion as transient/recoverable.

Validation

  • cargo fmt --check
  • git diff --check upstream/main
  • git diff --check
  • ../../../scripts/check-snowflake-local.pl upstream/main
  • cargo test --all-targets --features rcgen
  • cargo clippy --all-targets --features rcgen -- -D warnings

@zRedShift zRedShift force-pushed the fix/error-taxonomy-transient branch 2 times, most recently from f309a41 to 101352f Compare May 25, 2026 13:09
@zRedShift zRedShift force-pushed the fix/error-taxonomy-transient branch 2 times, most recently from 16295e2 to 7381d14 Compare May 26, 2026 18:45
@zRedShift zRedShift force-pushed the fix/error-taxonomy-transient branch from 7381d14 to 42d638b Compare May 27, 2026 20:28
@algesten algesten merged commit 11d8d91 into algesten:main May 28, 2026
46 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