aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-07-01 04:07:22 +0000
committerNIIBE Yutaka <[email protected]>2019-07-01 04:07:22 +0000
commit7c877f942a344e7778005840ed7f3e20ace12f4a (patch)
treea187377dd2f0ef70f7cab05fbd24885539db2c12 /dirmngr/http.c
parentagent: Close a dialog cleanly when gpg/ssh is killed for CONFIRM. (diff)
downloadgnupg-7c877f942a344e7778005840ed7f3e20ace12f4a.tar.gz
gnupg-7c877f942a344e7778005840ed7f3e20ace12f4a.zip
tools: gpgconf: Killing order is children-first.
* tools/gpgconf-comp.c (gc_component_kill): Reverse the order. -- The order matters in a corner case; On a busy machine, there was a race condition between gpg-agent's running KILLAGENT command and its accepting incoming request on the socket. If a request by gpg-connect-agent was accepted, it resulted an error by sudden shutdown. This change of the order can remove such a race. Here, we know backend=0 is none. GnuPG-bug-id: 4577 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
0 files changed, 0 insertions, 0 deletions