1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-30 16:17:02 +01:00
Werner Koch 40d16029ed
agent: Fix long standing regression tracking the connection count.
* agent/gpg-agent.c (get_agent_active_connection_count): New.
(do_start_connection_thread, start_connection_thread_ssh): Bump
ACTIVE_CONNECTIONS up and down.
* agent/command.c (cmd_getinfo): Add subcommand "connections".
--

The variable ACTIVE_CONNECTIONS is used to shutdown gpg-agent in a
friendly way.  Before we switched to nPth a Pth provided count of
threads was used for this.  During the migration to nPth
ACTIVE_CONNECTIONS was introduced and checked but never set.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-08-06 10:15:47 +02:00
..
2016-07-18 12:51:38 +02:00
2015-10-28 10:20:17 +01:00
2016-08-06 14:47:29 +09:00
2015-11-17 12:50:22 +01:00
2016-08-03 16:55:33 +02:00
2016-08-03 16:54:01 +02:00
2014-12-02 14:13:53 +01:00
2016-01-05 10:15:49 +09:00
2007-07-04 19:49:40 +00:00
2015-11-17 12:50:22 +01:00
2007-07-04 19:49:40 +00:00