[Pkg-haskell-maintainers] Bug#724856: no way to override default http-conduit timeouts

Joey Hess joeyh at debian.org
Sat Sep 28 19:30:11 UTC 2013


Package: haskell-dav
Version: 0.4.1
Severity: normal

http-conduit has a timeout of either 5 seconds or 5 minutes,
after which it terminates any ongoing http request,
throwing a ResponseTimeout HttpException.

It's a very annoying that this applies to DAV, which is often used to
download or upload large files. For example, see:
http://git-annex.branchable.com/bugs/box.com_never_stops_syncing./
I would like to see DAV fixed to either disable this timeout, or allow
configuring it to some very large value.

Based on https://github.com/snoyberg/http-conduit/issues/137,
there are actually multiple timeouts in http-conduit, a 5 second timeout
if the connection stalls w/o data being received, and a 5 minute timeout
on the whole http connection. I have not been able to find this 5 minute
timeout in the code, however, only the 5 second one in responseTimeout.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130928/e93bbe25/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list