diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-07-30 23:08:17 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-07-30 23:08:17 +0200 |
commit | 53e47ca947312981fd5773bb618aa5e5b1f2e1e3 (patch) | |
tree | a983a1f52db48896442c901bb2eef5c9eb02ac6d /docs/libcurl | |
parent | 314117cbf180dc6bc333621052f6d8c2e9a25ac7 (diff) |
KNOWN_BUG: The SOCKET type in Win64 is 64 bits
The SOCKET type in Win64 is 64 bits large (and thus so is curl_socket_t
on that platform), and long is only 32 bits. It makes it impossible for
curl_easy_getinfo() to return a socket properly with the
CURLINFO_LASTSOCKET option as for all other operating systems.
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_getinfo.3 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index b80eacf7d..9f298ed71 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -198,6 +198,9 @@ working with the socket, you must call curl_easy_cleanup() as usual and let libcurl close the socket and cleanup other resources associated with the handle. This is typically used in combination with \fICURLOPT_CONNECT_ONLY\fP. (Added in 7.15.2) + +NOTE: this API is not really working on win64, since the SOCKET type on win64 +is 64 bit large while its 'long' is only 32 bits. .IP CURLINFO_FTP_ENTRY_PATH Pass a pointer to a char pointer to receive a pointer to a string holding the path of the entry path. That is the initial path libcurl ended up in when |