summaryrefslogtreecommitdiff
path: root/lib/ftp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-12-20 20:55:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-12-20 20:55:54 +0100
commit130fac6c16c4fb8a7eeec116adc479aad1e3273d (patch)
tree3cc1b901ec043d3910dfe225bf07045bbbe134c4 /lib/ftp.h
parent6222ef8052fdc369977620d38d323f2f90a77011 (diff)
downloadcurl-130fac6c16c4fb8a7eeec116adc479aad1e3273d.tar.gz
timeleft_accept: ack global timeout, moved to ftp.c
First off the timeout for accepting a server connect back must of course respect a global timeout. Then the timeleft function is only used by ftp code so it was moved to ftp.c and made static.
Diffstat (limited to 'lib/ftp.h')
-rw-r--r--lib/ftp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ftp.h b/lib/ftp.h
index 21e47374b..d359f28f3 100644
--- a/lib/ftp.h
+++ b/lib/ftp.h
@@ -156,4 +156,6 @@ struct ftp_conn {
it */
};
+#define DEFAULT_ACCEPT_TIMEOUT 60000 /* milliseconds == one minute */
+
#endif /* HEADER_CURL_FTP_H */