From 673e5276f6b4dda4bfa9dd5bb70220fc8b17abd2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 28 Mar 2021 22:04:01 +0200 Subject: http-client: Don't drop failed query when reconnecting. Reported by Christopher Baines . * guix/http-client.scm (http-multiple-get): Change 2nd argument to 'drop' to PROCESSED when (false-if-networking-error ...) returns #f. --- guix/http-client.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix') diff --git a/guix/http-client.scm b/guix/http-client.scm index 99bbccafd6..a2e11a1b73 100644 --- a/guix/http-client.scm +++ b/guix/http-client.scm @@ -250,7 +250,7 @@ (define batch (#f (close-port p) (connect #f ; try again - (drop requests (+ 1 processed)) + (drop requests processed) result))))))))) -- cgit v1.2.3