Skip to content

Fix/mtls dedup connection handler#5

Merged
rushabhvaria merged 1 commit intomainfrom
fix/mtls-dedup-connection-handler
May 4, 2026
Merged

Fix/mtls dedup connection handler#5
rushabhvaria merged 1 commit intomainfrom
fix/mtls-dedup-connection-handler

Conversation

@rushabhvaria
Copy link
Copy Markdown
Owner

Extract serve_connection() helper to eliminate repeated connection error-handling blocks across TLS, plaintext, and UDS code paths. Also simplify the TLS/plaintext branching by resolving the TLS acceptor first, then handling the connection in two clean branches instead of five duplicated blocks.

Addresses review feedback from nickpan47 on PR restatedev#4681.

Extract serve_connection() helper to eliminate repeated connection
error-handling blocks across TLS, plaintext, and UDS code paths.
Also simplify the TLS/plaintext branching by resolving the TLS
acceptor first, then handling the connection in two clean branches
instead of five duplicated blocks.

Addresses review feedback from nickpan47 on PR restatedev#4681.
@rushabhvaria rushabhvaria merged commit 0b44967 into main May 4, 2026
1 of 6 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant