Skip to content

Catch exceptions that wrap known client-disconnection errors - #29

Merged
ismasan merged 1 commit into
mainfrom
catch_wrapped_disconnections
Sep 24, 2026
Merged

ismasan merged 1 commit into
mainfrom
catch_wrapped_disconnections

Conversation

@ismasan

@ismasan ismasan commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Falcon server's protocol-http1 >= 0.41 now wraps Errno::ECONNRESET in its own exception class. This change makes this library make sure to inspect an exception's cause (root exception) to check whether it's a client disconnect that should run the on_client_disconnect callbacks.

… on_client_disconnect

Falcon server's protocol-http1 >= 0.41 now wraps Errno::ECONNRESET in its own exception class.
This change makes this library make sure to inspect an exception's cause (root exception) to check whether it's a client disconnect that should run the on_client_disconnect callbacks.
@ismasan
ismasan merged commit f36dbaa into main Sep 24, 2026
1 check passed
@ismasan
ismasan deleted the catch_wrapped_disconnections branch September 24, 2026 15:05
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.

1 participant