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

#285 FIX Connection not closed properly when handler failed #286

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

orbitz
Copy link
Contributor

@orbitz orbitz commented Feb 5, 2025

In the case of an exception, the connection is already closed but then used to send response back. But in the case of a timeout, the connection was never closed.

Description

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (explain):

Checklist

  • I have read the contributing guidelines
  • The pull request title follows this format:
    ISSUE_NUMBER ACTION_TYPE Short description (e.g., 123 ADD Feature description)
  • I have added tests and documentation (if applicable)
  • My changes generate no new warnings/errors and do not break existing functionality

Additional context (optional)

In the case of an exception, the connection is already closed but then
used to send response back.  But in the case of a timeout, the
connection was never closed.
@orbitz orbitz requested a review from a team as a code owner February 5, 2025 11:09
@orbitz orbitz force-pushed the 285-fix-cohttp-handle-e_io-error branch from bffac9f to a5f5586 Compare February 5, 2025 13:18
@orbitz orbitz merged commit 6c932f0 into main Feb 5, 2025
4 checks passed
@orbitz orbitz deleted the 285-fix-cohttp-handle-e_io-error branch February 5, 2025 13:34
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