make the SSL connect use the same default connect timeout define as the

generic connect uses
This commit is contained in:
Daniel Stenberg 2004-06-30 09:22:48 +00:00
parent 4191741fb6
commit ba40eccc90
3 changed files with 4 additions and 3 deletions

@ -101,8 +101,6 @@
/* The last #include file should be: */
#include "memdebug.h"
#define DEFAULT_CONNECT_TIMEOUT 300000 /* milliseconds == five minutes */
static bool verifyconnect(curl_socket_t sockfd, int *error);
static curl_socket_t

@ -38,4 +38,7 @@ CURLcode Curl_connecthost(struct connectdata *conn,
);
int Curl_ourerrno(void);
#define DEFAULT_CONNECT_TIMEOUT 300000 /* milliseconds == five minutes */
#endif

@ -1269,7 +1269,7 @@ Curl_SSLConnect(struct connectdata *conn,
}
else
/* no particular time-out has been set */
timeout_ms=300000; /* milliseconds, default to five minutes */
timeout_ms= DEFAULT_CONNECT_TIMEOUT;
FD_ZERO(&writefd);