guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#47174] [PATCH v2 2/2] substitute: Handle closing connections to sub


From: Mathieu Othacehe
Subject: [bug#47174] [PATCH v2 2/2] substitute: Handle closing connections to substitute servers.
Date: Mon, 17 May 2021 16:46:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

> +                       (match (assq 'connection (response-headers response))
> +                         (('connection 'close)
> +                          (lambda ()
> +                            (close-port port)))

You could maybe factorize it in a close-connection? procedure. Out of
curiosity, when does the remote server asks for connection closing?

Thanks,

Mathieu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]