summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-01-31 19:55:51 +0000
committerwollman <wollman@FreeBSD.org>1997-01-31 19:55:51 +0000
commit827e39354ad8751e6eacb18ae55c82e09dc9ab47 (patch)
treef21d8b942d4bd85dae792f19dcba12aed3a72100 /usr.bin/fetch/fetch.h
parent2a7214e7ab593d04e5bd8e6e73af6a760985a070 (diff)
downloadFreeBSD-src-827e39354ad8751e6eacb18ae55c82e09dc9ab47.zip
FreeBSD-src-827e39354ad8751e6eacb18ae55c82e09dc9ab47.tar.gz
Some fixes for HTTP:
1) Implement redirects (or try to, at least). 2) Implement automatic retry after 503 errors when Retry-After is given. 3) Implement a -a flag to enable both of these behaviors. 4) Recognize Transfer-Encoding headers and emit a warning that the file is likely to be damaged. 5) Bug fix: only write the amount of data we read. 6) Actually document some of these. 7) Fix the usage message to display flags in semi-alphabetical order.
Diffstat (limited to 'usr.bin/fetch/fetch.h')
-rw-r--r--usr.bin/fetch/fetch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.h b/usr.bin/fetch/fetch.h
index daa010e..89ddbea 100644
--- a/usr.bin/fetch/fetch.h
+++ b/usr.bin/fetch/fetch.h
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: fetch.h,v 1.1 1997/01/30 21:43:38 wollman Exp $
*/
#ifndef fetch_h
@@ -48,6 +48,7 @@ struct fetch_state {
int fs_passive_mode; /* -p option */
int fs_linkfile; /* -l option */
int fs_precious; /* -R option */
+ int fs_auto_retry; /* -a option */
time_t fs_modtime;
void *fs_proto;
int (*fs_retrieve)(struct fetch_state *);
OpenPOWER on IntegriCloud