mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:03:34 +03:00
SOCKS: fix the connect timeout
The connect timeout logic when using SOCKS was done wrong Bug: http://curl.haxx.se/mail/lib-2011-07/0177.html Reported by: "Spoon Man"
This commit is contained in:
parent
da3ae20da5
commit
3dcc0df5cc
5 changed files with 20 additions and 54 deletions
|
|
@ -39,8 +39,7 @@ int Curl_blockread_all(struct connectdata *conn,
|
|||
curl_socket_t sockfd,
|
||||
char *buf,
|
||||
ssize_t buffersize,
|
||||
ssize_t *n,
|
||||
long conn_timeout);
|
||||
ssize_t *n);
|
||||
|
||||
/*
|
||||
* This function logs in to a SOCKS4(a) proxy and sends the specifics to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue