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 --- lib/libalpm/alpm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 49cf200a..448d42d2 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -926,6 +926,8 @@ int alpm_option_set_local_file_siglevel(alpm_handle_t *handle, int level); int alpm_option_get_remote_file_siglevel(alpm_handle_t *handle); int alpm_option_set_remote_file_siglevel(alpm_handle_t *handle, int level); +int alpm_option_set_disable_dl_timeout(alpm_handle_t *handle, unsigned short disable_dl_timeout); + /** @} */ /** @addtogroup alpm_api_databases Database Functions -- cgit v1.2.3-70-g09d2