Andrew Gregory <andrew.gregory.8@gmail.com> on Sat, 2016/08/20 12:38:
On 08/12/16 at 06:04pm, Christian Hesse wrote:
From: Christian Hesse <mail@eworm.de>
Add command line option ('--stupid-proxy') and config file option ('StupidProxy') to disable defaults for low speed limit and timeout on downloads. Use this if you have issues downloading files with proxy and/or security gateway.
Signed-off-by: Christian Hesse <mail@eworm.de> Tested-by: Martin <martin@herndl.org> --- doc/pacman.8.txt | 4 ++++ doc/pacman.conf.5.txt | 4 ++++ lib/libalpm/alpm.h | 2 ++ lib/libalpm/dload.c | 6 ++++-- lib/libalpm/handle.c | 10 ++++++++++ lib/libalpm/handle.h | 1 + src/pacman/conf.c | 4 ++++ src/pacman/conf.h | 4 +++- src/pacman/pacman.c | 5 +++++ 9 files changed, 37 insertions(+), 3 deletions(-)
There was discussion in 2014 about adding low speed limit and timeout options that would allow actually configuring them rather than simply disabling them. The patch was mostly finished, but Allan asked for some small changes that were never completed. It might be worth picking up and finishing that patch instead.
Initial submission: https://lists.archlinux.org/pipermail/pacman-dev/2014-March/018955.html
Allan's final requests: https://lists.archlinux.org/pipermail/pacman-dev/2014-May/019017.html
Allan, any opinion on this? If you prefer the code from 2014 I will pick it up and make the required changes. -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}