diff options
author | Christian Hesse <mail@eworm.de> | 2016-12-02 11:53:53 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-01-13 03:52:50 +0100 |
commit | c635f185ba86967cd8de9c31890b57e558f65e9b (patch) | |
tree | 8a41eb52b90e9afc595b5d08016f3f4102ccf646 /lib/libalpm/handle.h | |
parent | 64bd242863504b6ffe138dc8af2b7c6d7a353f76 (diff) | |
download | pacman-c635f185ba86967cd8de9c31890b57e558f65e9b.tar.gz pacman-c635f185ba86967cd8de9c31890b57e558f65e9b.tar.xz |
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 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index e096bfb3..223eac12 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -60,6 +60,7 @@ struct __alpm_handle_t { #ifdef HAVE_LIBCURL /* libcurl handle */ CURL *curl; /* reusable curl_easy handle */ + unsigned short disable_dl_timeout; #endif #ifdef HAVE_LIBGPGME |