From 412e95fc38138d113aeeef5cf99c90f592bea6f8 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 12 May 2023 09:26:59 +0100 Subject: Don't look at the content-length header for chunked transfers Since this isn't supposed to be set. --- guix-build-coordinator/agent-messaging/http/server.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix-build-coordinator/agent-messaging/http/server.scm b/guix-build-coordinator/agent-messaging/http/server.scm index b55d812..c867d0c 100644 --- a/guix-build-coordinator/agent-messaging/http/server.scm +++ b/guix-build-coordinator/agent-messaging/http/server.scm @@ -824,7 +824,7 @@ port. Also, the port used can be changed by passing the --port option.\n" chunked-request-channel (lambda () (receive-file body - (request-content-length request) + #f tmp-output-file-name))) (let ((content-length (request-content-length request))) @@ -894,7 +894,7 @@ port. Also, the port used can be changed by passing the --port option.\n" chunked-request-channel (lambda () (receive-file body - (request-content-length request) + #f tmp-output-file-name #:append? #t))) (receive-file body -- cgit v1.2.3