[pacman-dev] Minor issues in lib/libalpm/dload.c

Florian Pritz bluewind at xinu.at
Fri Jan 11 04:26:33 EST 2013


On 11.01.2013 00:47, LANGLOIS Olivier PIS -EXT wrote:
> Hi,
> 
> The following 2 lines has caused me some problems:
> 
> curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 1024L); 
> curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 10L);
>
> [...]
> 
> I am wondering if I am the only and first user having this problem
> and how it could be solved cleanly for everyone upstream.

We could set the limit to 1L then curl would only abort if no data has
been transferred so slow connections would still be allowed, but servers
no responding wouldn't be much of a problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130111/bfe41b47/attachment.asc>


More information about the pacman-dev mailing list