Skip to content

socks: properly maintain the status of 'done'#19255

Closed
x2018 wants to merge 1 commit into
curl:masterfrom
x2018:socks_proxy_status
Closed

socks: properly maintain the status of 'done'#19255
x2018 wants to merge 1 commit into
curl:masterfrom
x2018:socks_proxy_status

Conversation

@x2018

@x2018 x2018 commented Oct 27, 2025

Copy link
Copy Markdown
Contributor

In socks_proxy_cf_connect(), *done will be True after a TCP connection while the SOCKS Proxy is not actually done.
This PR properly maintains the status of 'done' when calloc fails and the socks connection is not performed.

@bagder bagder closed this in 6c97ff8 Oct 27, 2025
@bagder

bagder commented Oct 27, 2025

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants