diff options
author | NIIBE Yutaka <[email protected]> | 2023-08-30 01:57:36 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-08-30 01:57:36 +0000 |
commit | 95186ae92f923df6240f1b677cbaf130c4f64fae (patch) | |
tree | 88b7484c4dfa9bb523f1c52126c34ab453da1be4 /dirmngr/ldap-parse-uri.c | |
parent | g13: Fix for new assuan_control. (diff) | |
download | gnupg-95186ae92f923df6240f1b677cbaf130c4f64fae.tar.gz gnupg-95186ae92f923df6240f1b677cbaf130c4f64fae.zip |
agent: Use a thread to monitor socket takeover.
* agent/gpg-agent.c (check_own_socket_running): Remove.
(socket_takeover_detected): New.
(check_own_socket): Remove.
(handle_tick): Don't call check_own_socket any more.
(handle_connections): Start off the check_own_socket_thread.
Check socket_takeover_detected to handle the event.
(do_check_own_socket): New, factoring out the task.
(check_own_socket_thread): Loop with the interval.
--
GnuPG-bug-id: 6692
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/ldap-parse-uri.c')
0 files changed, 0 insertions, 0 deletions