Home GnuPG
Diffusion GnuPG c33c4fdf10b7

dirmngr: Fix the regression of use of proxy for TLS connection.

Description

dirmngr: Fix the regression of use of proxy for TLS connection.

* dirmngr/http.c (run_proxy_connect): Don't set keep_alive, since it
causes resource leak of FP_WRITE.
Don't try to read response body to fix the hang.
  • GnuPG-bug-id: T6997
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 16 2024, 3:31 AM
wernerCommitted on Feb 21 2024, 3:11 PM
Parents
rGd6c428699db7: dirmngr: Fix proxy with TLS.
Branches
Unknown
Tags
Unknown
Tasks
T6997: gnupg-2.4.4 breaks dirmngr fetching keys via hkps:// from behind a proxy