fetcher/curl: Stop using CURLOPT_LOW_SPEED_TIME/_LIMIT
authorColin Walters <walters@verbum.org>
Mon, 27 Nov 2017 16:05:07 +0000 (11:05 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 27 Nov 2017 22:31:22 +0000 (22:31 +0000)
commit82e2150b98bd1ad5149c1e86db22f8ffb2dd6a41
treef12a52007b3af522cba05b573554f4b098b72324
parent6cbc4a69051f651ec2fe9c0e6d9a7b3dd8906a2d
fetcher/curl: Stop using CURLOPT_LOW_SPEED_TIME/_LIMIT

They don't play nicely currently with HTTP2 where we may
have lots of requests queued.

https://github.com/ostreedev/ostree/issues/878#issuecomment-347228854

In practice anyways I think issues here are better solved on a higher level -
e.g. apps today can use an overall timeout on pulls and if they exceed the limit
set the cancellable.

Closes: #1349
Approved by: jlebon
src/libostree/ostree-fetcher-curl.c
tests/test-pull-mirrorlist.sh