mirror of
https://github.com/curl/curl.git
synced 2026-07-28 18:43:08 +03:00
Some trivial changes
This commit is contained in:
parent
0331071346
commit
09777a4fc2
7 changed files with 39 additions and 31 deletions
|
|
@ -104,6 +104,8 @@
|
|||
/* The last #include file should be: */
|
||||
#include "memdebug.h"
|
||||
|
||||
/* Default proxy timeout in milliseconds */
|
||||
#define PROXY_TIMEOUT (3600*1000)
|
||||
|
||||
/*
|
||||
* Forward declarations.
|
||||
|
|
@ -1221,7 +1223,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
|
|||
CURLcode result;
|
||||
int res;
|
||||
long timeout =
|
||||
data->set.timeout?data->set.timeout:3600000; /* in milliseconds */
|
||||
data->set.timeout?data->set.timeout:PROXY_TIMEOUT; /* in milliseconds */
|
||||
curl_socket_t tunnelsocket = conn->sock[sockindex];
|
||||
curl_off_t cl=0;
|
||||
bool closeConnection = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue