Jay Satiro cd3aba1a5c 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
2015-11-06 00:30:16 -05:00
..
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-10-21 23:18:04 +02:00
2013-02-14 10:41:45 +01:00
2015-03-03 23:17:43 +01:00
2015-03-17 13:57:37 +01:00
2014-10-08 12:25:07 +02:00
2015-10-20 07:57:24 +02:00
2015-03-03 23:17:43 +01:00
2015-03-03 12:36:18 +01:00
2015-10-01 18:15:11 +02:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-10-23 08:22:38 +02:00
2015-10-20 07:57:24 +02:00
2014-12-16 13:52:06 +01:00
2015-03-16 15:01:15 +01:00
2015-03-03 12:36:18 +01:00
2015-03-17 13:57:37 +01:00
2010-03-24 11:02:54 +01:00
2015-07-21 14:01:19 +02:00
2015-10-21 13:00:52 -04:00
2015-10-20 07:57:24 +02:00
2015-03-17 13:57:37 +01:00
2014-12-20 14:43:02 +00:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-17 13:57:37 +01:00
2014-10-13 16:33:47 +02:00
2015-07-14 01:25:36 -04:00
2015-05-22 16:26:14 +02:00
2014-12-30 13:10:30 +00:00
2015-03-16 15:01:15 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2013-02-14 10:41:45 +01:00
2013-02-14 10:41:45 +01:00
2015-10-23 08:22:38 +02:00
2015-06-24 23:44:42 +02:00
2015-10-23 08:22:38 +02:00
2013-02-01 08:14:46 +01:00