[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47174] [PATCH 0/2] substitute: Handle closing connections to substi
From: |
Ludovic Courtès |
Subject: |
[bug#47174] [PATCH 0/2] substitute: Handle closing connections to substitute servers. |
Date: |
Mon, 15 Mar 2021 21:36:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Christopher Baines <mail@cbaines.net> skribis:
> When reusing a HTTP connection to fetch multiple nars, and the remote server
> signals that the connection should be closed.
>
> * guix/scripts/substitute.scm (process-substitution): Close connections to
> substitute servers when a Connection: close header is specified in the
> response.
In the context of <https://issues.guix.gnu.org/47157>, honoring
“Connection: close” isn’t enough. We need to handle the case where the
server didn’t express the intent to close the connection but eventually
closed it after some time.
Does that make sense?
Ludo’.