Skip to content

fix: close socket on raise - #499

Merged
miketheman merged 1 commit into
mainfrom
fix-allow-hosts-socket-leak
Jun 25, 2026
Merged

miketheman merged 1 commit into
mainfrom
fix-allow-hosts-socket-leak

Conversation

@miketheman

Copy link
Copy Markdown
Owner

Resolve a file descriptor leak.

Fixes #496

Resolve a file descriptor leak.

Fixes #496

Signed-off-by: Mike Fiedler <[email protected]>
@miketheman
miketheman marked this pull request as ready for review June 23, 2026 15:00
@codspeed

codspeed Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing fix-allow-hosts-socket-leak (2aaaee1) with main (6205820)

Open in CodSpeed

@miketheman miketheman added this to the Next Release milestone Jun 23, 2026
@loic-simon

Copy link
Copy Markdown

Can confirm this commit fixes my original issue, thanks! ✅

@miketheman
miketheman merged commit ef6be18 into main Jun 25, 2026
29 checks passed
@miketheman
miketheman deleted the fix-allow-hosts-socket-leak branch June 25, 2026 13:32
@miketheman

Copy link
Copy Markdown
Owner Author

Thanks for the confirmation! I'll include the fix in the next release (maybe this weekend or next).

@loic-simon

Copy link
Copy Markdown

Hey @miketheman, gentle ping for a release of this fix when you have a chance 😃

Thanks for your work!

@miketheman

Copy link
Copy Markdown
Owner Author

@loic-simon thanks for the reminder - 0.8.1 should be out with it now.

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.

Socket leak when catching SocketBlockedError and running with --allow-hosts

2 participants