diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-04-17 00:45:33 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-04-17 00:45:33 +0000 |
commit | 09777a4fc2ed0f2b09447eb89fb8cd4b99278944 (patch) | |
tree | 6bacd3d36ad24891153d55d573d776ca25065ce9 /lib/http.c | |
parent | 03310713467b678812067b3edab82b23ed6b1c04 (diff) | |
download | curl-09777a4fc2ed0f2b09447eb89fb8cd4b99278944.tar.gz |
Some trivial changes
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index cb330c6cf..f8ef9a4ea 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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; |