diff options
author | Christopher Baines <mail@cbaines.net> | 2023-05-12 09:26:59 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-05-12 09:28:11 +0100 |
commit | 412e95fc38138d113aeeef5cf99c90f592bea6f8 (patch) | |
tree | 2c2ec2627832788cbf6d6fa484e6913fca359b7f | |
parent | 150814843fb8e9e0b722cab91198c82e0db8727b (diff) | |
download | build-coordinator-412e95fc38138d113aeeef5cf99c90f592bea6f8.tar build-coordinator-412e95fc38138d113aeeef5cf99c90f592bea6f8.tar.gz |
Don't look at the content-length header for chunked transfers
Since this isn't supposed to be set.
-rw-r--r-- | guix-build-coordinator/agent-messaging/http/server.scm | 4 |
1 files 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 |