diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-04-24 18:07:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-04-25 14:36:45 +0200 |
commit | 15b6c2a965e66084f3be2e88439dba408f7613ab (patch) | |
tree | a298e3790b2d9c756260a8364e4180bd63d84efc /guix/monads.scm | |
parent | 69ffe875c38bde29eb420a819d74ddba916015bc (diff) |
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/monads.scm')
0 files changed, 0 insertions, 0 deletions