diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-05-21 10:19:20 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-06-01 09:10:32 +0200 |
commit | 2acc114a963e91852ce517e763272528e4ba99a0 (patch) | |
tree | 87b594aafd807b793d90de7d29af96b9c4e886ca /gnu | |
parent | 4f2fa2f9802d268284aa12accf5705e57dd73d5a (diff) | |
download | guix-2acc114a963e91852ce517e763272528e4ba99a0.tar guix-2acc114a963e91852ce517e763272528e4ba99a0.tar.gz |
publish: Preserve the request connection header.
The Guile web server is reading the response connection header to decide
whether to close the connection. However, as the request connection header is
not forwarded to the response, this mechanism cannot work.
* guix/scripts/publish.scm (add-extra-headers): New procedure.
(make-request-handler): Use it to forward the request connection header to the
response.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions