Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dirmngr: Fix the cleanup zombies fix (685b782). | Werner Koch | 2015-06-18 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | * dirmngr/ldap-wrapper.c (ldap_wrapper_thread): Do not close the stdout reader after EOF from read_log_data. * dirmngr/crlcache.c (crl_cache_reload_crl): Close the reader before the next iteration. -- I assumed that the log_fd also has a reader object but that reader object is used for stdout and needs to be closed by the consumer. The real bug with the non-released ldap_wrapper control objects was that when looping over distribution points we did not closed the used reader object before the next iteration. Now, the test case had more than one DP and thus we lost one reader object. Signed-off-by: Werner Koch <[email protected]> | ||||
* | dirmngr: Cleanup zombies and fix hang on shutdown. | Werner Koch | 2015-06-16 | 1 | -34/+29 |
| | | | | | | | | | | | | | | | * dirmngr/ldap-wrapper.c (ldap_wrapper_thread): Move nfds computation into the loop. Check the queue also on timeout. Close log_fd and reader context on EOF or error. -- The major bug here was that on an EOF of the log fd the log fd was not closed and thus the final queue item removal could not work. Checking the queue on a timeout is not really necessary but it help in case there is a race condition lingering. GnuPG-bug-id: 1838, 1978 Signed-off-by: Werner Koch <[email protected]> | ||||
* | dirmngr: Add missing cast for use of pid_t in printf. | Werner Koch | 2015-06-16 | 1 | -1/+1 |
| | | | | -- | ||||
* | Improve spelling and grammar of some comments. | Neal H. Walfield | 2015-03-23 | 1 | -1/+1 |
| | | | | | -- Signed-off-by: Neal H. Walfield <[email protected]> | ||||
* | Replace npth_yield in busy wait by npth_usleep. | Marcus Brinkmann | 2012-02-28 | 1 | -1/+1 |
| | | | | | * dirmngr/ldap-wrapper.c (ldap_wrapper_wait_connections): Call npth_usleep instead of npth_yield. | ||||
* | Port to npth. | Marcus Brinkmann | 2012-01-25 | 1 | -96/+125 |
| | | | | | | | | | | | | | | | | | | | | | * configure.ac: Don't check for PTH but for NPTH. (AH_BOTTOM): Remove PTH_SYSCALL_SOFT. (have_pth): Rename to ... (have_npth): ... this. (USE_GNU_NPTH): Rename to ... (USE_GNU_PTH): ... this. * m4/npth.m4: New file. * agent/Makefile.am, agent/cache.c, agent/call-pinentry.c, agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c, agent/trustlist.c, common/Makefile.am, common/estream.c, common/exechelp-posix.c, common/exechelp-w32.c, common/exechelp-w32ce.c, common/http.c, common/init.c, common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c, dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c, dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am, g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am, scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c, scd/scdaemon.c, tools/Makefile.am: Port to npth. | ||||
* | Nuked almost all trailing white space.post-nuke-of-trailing-ws | Werner Koch | 2011-02-04 | 1 | -17/+17 |
| | | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. | ||||
* | Make dirmngr more battery friendly. | Werner Koch | 2011-01-25 | 1 | -1/+10 |
| | | | | | | | Similar to gpg-agent, dirmngr's wait timeouts are now synced to the full second. Increased ldap helper thread timeout to 2 seconds. Nuked some white spaces. | ||||
* | Translate dirmngr strings | Werner Koch | 2010-10-21 | 1 | -1/+1 |
| | |||||
* | Some work on the dirmngr | Werner Koch | 2010-07-26 | 1 | -0/+3 |
| | |||||
* | Some work on the dirmngr | Werner Koch | 2010-07-23 | 1 | -0/+747 |