aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test57
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-11-06 00:30:16 -0500
committerJay Satiro <raysatiro@yahoo.com>2015-11-06 00:30:16 -0500
commitcd3aba1a5c618bb20b418ac73d3627b21fb795c8 (patch)
tree56f6a817aa529eca578090dbd74becc7f20fbec0 /tests/data/test57
parentf6fbbd6dc3bcc93c681b2f7a14a73fa561b00488 (diff)
getinfo: CURLINFO_ACTIVESOCKET: fix bad socket value
- Set user info param to the socket returned by Curl_getconnectinfo, regardless of if the socket is bad. Effectively this means the user info param now will receive CURL_SOCKET_BAD instead of -1 on bad socket. - Remove incorrect comments. CURLINFO_ACTIVESOCKET is documented to write CURL_SOCKET_BAD to user info param but prior to this change it wrote -1. Bug: https://github.com/bagder/curl/pull/518 Reported-by: Marcel Raad
Diffstat (limited to 'tests/data/test57')
0 files changed, 0 insertions, 0 deletions