Skip to content

Improve cleanup on .close(); bump version - #16

Merged
dholth merged 3 commits into
mainfrom
no-drive-socket-after-close
May 6, 2026
Merged

Improve cleanup on .close(); bump version#16
dholth merged 3 commits into
mainfrom
no-drive-socket-after-close

Conversation

@dholth

@dholth dholth commented May 6, 2026

Copy link
Copy Markdown
Owner

curl can send us some or dozens of callbacks during the multi.close() call, to remind us to stop monitoring file handles; in the meantime, libcurl should synchronously close any remaining connections. The callbacks would trigger failed drive_socket() calls to a closed multi handle. Instead, ignore drive_socket() during or after AsyncCurl.aclose().

@dholth
dholth enabled auto-merge (squash) May 6, 2026 22:06
@dholth
dholth merged commit c0198d3 into main May 6, 2026
4 of 5 checks passed
@dholth
dholth deleted the no-drive-socket-after-close branch May 6, 2026 22:06
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