dirmngr: fix handling of HTTPS redirections during HKP
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 11 Jun 2019 07:25:46 +0000 (08:25 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commit7c1cc25836b42d5f9e2499d304391f92b709375f
treed5126df161598d6d9183425d93455f84bb60c07f
parentd478996b9c0eef3e92243463a34c8a6855755c96
dirmngr: fix handling of HTTPS redirections during HKP

* dirmngr/ks-engine-hkp.c (send_request): Reinitialize HTTP session when
following a HTTP redirection.

--
inspired by patch from Damien Goutte-Gattat <dgouttegattat@incenp.org>

GnuPG-Bug_id: 4566
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
(cherry picked from commit efb6e08ea2ca1cf2d39135d94195802cd69b9ea6)

Gbp-Pq: Topic from-2.2.17
Gbp-Pq: Name dirmngr-fix-handling-of-HTTPS-redirections-during-HKP.patch
dirmngr/ks-engine-hkp.c