summaryrefslogtreecommitdiff
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-12-02 11:53:53 +0100
committerAllan McRae <allan@archlinux.org>2017-01-13 12:52:50 +1000
commitc635f185ba86967cd8de9c31890b57e558f65e9b (patch)
tree8a41eb52b90e9afc595b5d08016f3f4102ccf646 /src/pacman/conf.h
parent64bd242863504b6ffe138dc8af2b7c6d7a353f76 (diff)
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 <mail@eworm.de> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h4
1 files changed, 3 insertions, 1 deletions
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 */