summary refs log tree commit diff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-03 21:37:27 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-06 22:49:47 +0100
commit8786c2e8d7585d4a55b1392093b9839f58bd4c3d (patch)
tree27058d266d781205dfb07bb1f912e2c2f35b579e /.dir-locals.el
parent55e8e283ae398cc476e50e822383797c5f43db4c (diff)
downloadguix-8786c2e8d7585d4a55b1392093b9839f58bd4c3d.tar.gz
http-client: Correctly handle redirects when #:keep-alive? #t.
Previously PORT would be closed unconditionally, which broke redirects
when #:keep-alive? #t is given.

* guix/http-client.scm (http-fetch): Make 'port' a parameter of 'loop'.
Upon 3xx responses, do not close PORT is KEEP-ALIVE? is true, but consume
RESP's body.  Add second argument to 'loop'.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions