From c635f185ba86967cd8de9c31890b57e558f65e9b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 2 Dec 2016 11:53:53 +0100 Subject: Introduce a 'disable-download-timeout' option Add command line option ('--disable-download-timeout') and config file option ('DisableDownloadTimeout') to disable defaults for low speed limit and timeout on downloads. Use this if you have issues downloading files with proxy and/or security gateway. Signed-off-by: Christian Hesse Signed-off-by: Allan McRae --- src/pacman/conf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pacman/conf.h') diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 636fec61..bd8cd77a 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -55,6 +55,7 @@ typedef struct __config_t { unsigned short checkspace; unsigned short usesyslog; unsigned short color; + unsigned short disable_dl_timeout; double deltaratio; char *arch; char *print_format; @@ -203,7 +204,8 @@ enum { OP_VERBOSE, OP_DOWNLOADONLY, OP_REFRESH, - OP_ASSUMEINSTALLED + OP_ASSUMEINSTALLED, + OP_DISABLEDLTIMEOUT }; /* clean method */ -- cgit v1.2.3-24-g4f1b