summary refs log tree commit diff
path: root/guix.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-04-24 18:07:09 +0200
committerLudovic Courtès <ludo@gnu.org>2021-04-24 19:08:13 +0200
commitc50db7156dfdd5dc126d7812cf4f51903bfa4599 (patch)
treee0bf279282c47e3ff1b439bef05d75c486bfd397 /guix.scm
parent02d62978f46fcc2793608bb57a2c20a30555dbba (diff)
downloadguix-c50db7156dfdd5dc126d7812cf4f51903bfa4599.tar.gz
http-client: Remove exception mishandling in 'http-multiple-get'.
Partly fixes <https://bugs.gnu.org/47867>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

The non-tail recursive call to 'connect' could cause requests to be
processed twice, with 'p' possibly closed the second time.

Regression introduced in 205833b72c5517915a47a50dbe28e7024dc74e57 and
carried over in 45fce38fb0b6c6796906149ade145b8d3594c1c6.

* guix/http-client.scm (http-multiple-get): Remove call to 'close-port'
and recursive call to 'connect' when the 'write-request' block returns #f.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions