aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-15 14:38:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-15 14:38:30 +0000
commitd6c456db85858bf111ceeb5f3c2b5a9b4e9f03c7 (patch)
tree61b9d2d2bf40aef92c554d3d43375658aabb1d88 /lib/urldata.h
parent36c88343d3c807c432bcd35a559c8db4947ff1a2 (diff)
added connect timeout support
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h5
1 files changed, 3 insertions, 2 deletions
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 */