Some trivial changes

This commit is contained in:
Dan Fandrich 2008-04-17 00:45:33 +00:00
parent 0331071346
commit 09777a4fc2
7 changed files with 39 additions and 31 deletions

View file

@ -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;