From 2aaae10fe8aed38964afc4cf1f9c590e374322e1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 28 Nov 2000 09:10:43 +0000 Subject: [PATCH] Added max-redirs support (James Griffiths' patch) --- src/main.c | 87 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 52 insertions(+), 35 deletions(-) diff --git a/src/main.c b/src/main.c index 43af0d617..03a5444a7 100644 --- a/src/main.c +++ b/src/main.c @@ -90,12 +90,15 @@ #include "../lib/memdebug.h" #endif -#define DEBUG_CONFIG +#define DEFAULT_MAXREDIRS 50L #ifndef __cplusplus /* (rabe) */ typedef char bool; #endif /* (rabe) */ +#define CURL_PROGRESS_STATS 0 /* default progress display */ +#define CURL_PROGRESS_BAR 1 + typedef enum { HTTPREQ_UNSPEC, HTTPREQ_GET, @@ -291,6 +294,7 @@ static void help(void) " -y/--speed-time Time needed to trig speed-limit abort. Defaults to 30\n" " -Y/--speed-limit Stop transfer if below speed-limit for 'speed-time' secs\n" " -z/--time-cond