From e9d946a17642cb2f1565e90490772c7985484e9d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 27 Nov 2012 21:29:02 +0100 Subject: Add timeouts to shell client Signed-off-by: Florian Pritz --- fb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb.in b/fb.in index 8e74deb..b21a83c 100644 --- a/fb.in +++ b/fb.in @@ -69,7 +69,7 @@ request_helper() { $libdir/fb-helper "$mode" "$url" "$file" else useragent="fb-client/shell-$version" - curlopts="-# -n -L -A $useragent" + curlopts="-# -n -L -A $useragent --speed-time 30 --speed-limit 1 --connect-timeout 10" if [ "$mode" = "d" ]; then curlopts="$curlopts -s" -- cgit v1.2.3-24-g4f1b