Home GnuPG
Diffusion GnuPG 76896e2339a4

agent: Recover support CHECK_OWN_SOCKET_INTERVAL == 0.

Description

agent: Recover support CHECK_OWN_SOCKET_INTERVAL == 0.

* agent/gpg-agent.c (handle_connections): Only spawn the thread
when CHECK_OWN_SOCKET_INTERVAL > 0.
[CHECK_OWN_SOCKET_INTERVAL == 0] (check_own_socket_pid_cb)
(do_check_own_socket, check_own_socket_thread): Ifdef out.
  • GnuPG-bug-id: T6692
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 30 2023, 6:21 AM
Parents
rGb2826924eeca: agent: Fix the handling of socket takeover.
Branches
Unknown
Tags
Unknown
Tasks
T6692: agent: Clean up check_own_socket to monitor socket takeover