diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-12-20 20:55:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-12-20 20:55:54 +0100 |
commit | 130fac6c16c4fb8a7eeec116adc479aad1e3273d (patch) | |
tree | 3cc1b901ec043d3910dfe225bf07045bbbe134c4 /lib/connect.h | |
parent | 6222ef8052fdc369977620d38d323f2f90a77011 (diff) | |
download | curl-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/connect.h')
-rw-r--r-- | lib/connect.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/connect.h b/lib/connect.h index 4e905bdf5..f84361f2e 100644 --- a/lib/connect.h +++ b/lib/connect.h @@ -43,12 +43,7 @@ long Curl_timeleft(struct SessionHandle *data, struct timeval *nowp, bool duringconnect); -/* function that returns how much time there's left to wait for incoming - server connect */ -long Curl_timeleft_accept(struct SessionHandle *data); - #define DEFAULT_CONNECT_TIMEOUT 300000 /* milliseconds == five minutes */ -#define DEFAULT_ACCEPT_TIMEOUT 60000 /* milliseconds == one minute */ /* * Used to extract socket and connectdata struct for the most recent |