Add defs for default fetch cache connection limits and use them in
xbps_fetch_cache_connection() if 0 is passed as argument. xbps-bin: enable fetch cached connection when downloading binpkgs. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100124153156-4updprik11nwi7c1
This commit is contained in:
@@ -102,6 +102,9 @@ download_package_list(prop_object_iterator_t iter)
|
||||
if (cachedir == NULL)
|
||||
return EINVAL;
|
||||
|
||||
/* Set default limit of global and per-host cached connections */
|
||||
xbps_fetch_set_cache_connection(0, 0);
|
||||
|
||||
while ((obj = prop_object_iterator_next(iter)) != NULL) {
|
||||
found_binpkg = false;
|
||||
if (!prop_dictionary_get_cstring_nocopy(obj,
|
||||
|
Reference in New Issue
Block a user