FS#23690 - make libfetch timeout configurable
Attached to Project:
Pacman
Opened by Taimon (Taimon) - Monday, 11 April 2011, 07:54 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 22 April 2012, 13:19 GMT
Opened by Taimon (Taimon) - Monday, 11 April 2011, 07:54 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 22 April 2012, 13:19 GMT
|
Details
Summary and Info:
When I'm on a low bandwidth link (56k Modem) and try to download something via pacman (libfetch) the download is aborted after ~200 KiB and I have to repeat the command. Some debugging revealed that libfetch sends a ETIMEDOUT and setting fetchTimeout to 0 or something like 30 solves the problem for me. Steps to Reproduce: Kinda hard to reproduce because it most likely depends on my modem driver (martian) and modem. Sometimes the download seems to halt temporarily but a short time afterwards it continues with increased speed. (i.e. it stops at 200 KiB but after 10 seconds it immediatly jumps to 300 KiB.) I guess this is why I'm getting the timeout. |
This task depends upon
Maybe you can give me a rough ETA?