aboutsummaryrefslogtreecommitdiff
path: root/lib/socks.c
AgeCommit message (Collapse)Author
2007-06-05if we read zero bytes from the proxy, the connection is broken and we needDaniel Stenberg
to bail out
2007-04-16- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is aDaniel Stenberg
function that deprecates the curl_multi_socket() function. Using the new function the application tell libcurl what action that was found in the socket that it passes in. This gives a significant performance boost as it allows libcurl to avoid a call to poll()/select() for every call to curl_multi_socket*().
2007-03-30dead code removed, found by the coverity.com scanDaniel Stenberg
2007-03-26Internal function Curl_select() renamed to Curl_socket_ready()Yang Tse
2007-02-21Include some possible dependencies of arpa/inet.hDan Fandrich
2007-02-20Include network byte order conversion macros on Minix.Dan Fandrich
2007-02-20compiler warning fixYang Tse
2007-02-19- Robson Braga Araujo made passive FTP transfers work with SOCKS (both 4 andDaniel Stenberg
5).
2007-02-06fix for millisecond resolution timeoutsYang Tse
2007-02-05- Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MSDaniel Stenberg
and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already.
2006-10-27Compiler warning fixYang Tse
2006-09-24Compiler warning fixYang Tse
2006-09-23standard curl source code headersDaniel Stenberg
2006-09-23Dmitriy Sergeyev provided a patch that made the SOCKS[45] code work better asDaniel Stenberg
it now will read the full data sent from servers. The SOCKS-related code was also moved to the new lib/socks.c source file.