From d6c456db85858bf111ceeb5f3c2b5a9b4e9f03c7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Mar 2001 14:38:30 +0000 Subject: added connect timeout support --- lib/urldata.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 773d5bfae..07e8953ee 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -496,8 +496,9 @@ struct UrlData { curl_passwd_callback fpasswd; void *passwd_client; /* pointer to pass to the passwd callback */ - long timeout; /* in seconds, 0 means no timeout */ - long infilesize; /* size of file to upload, -1 means unknown */ + long timeout; /* in seconds, 0 means no timeout */ + long connecttimeout; /* in seconds, 0 means no timeout */ + long infilesize; /* size of file to upload, -1 means unknown */ char buffer[BUFSIZE+1]; /* buffer with size BUFSIZE */ -- cgit v1.2.3