diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-05 21:11:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-05 21:12:03 +0100 |
commit | 9e0a813b38b791a0bc020b8f1ee16d2b5d8712c6 (patch) | |
tree | 3ef3f3bc726a548ddb75b1695df911ef5a9ff3bc /src/auditor/taler-auditor-httpd.c | |
parent | b33260432540561e3bb6f78e5a37ec7e1dae9fd4 (diff) | |
download | exchange-9e0a813b38b791a0bc020b8f1ee16d2b5d8712c6.tar.xz |
implement auditor's exchange signing key caching (#6052)
Diffstat (limited to 'src/auditor/taler-auditor-httpd.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 4d5537e51..043d5b148 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -594,7 +594,7 @@ main (int argc, if (GNUNET_OK != auditor_serve_process_config ()) return 1; - + TEAH_DEPOSIT_CONFIRMATION_init (); /* check for systemd-style FD passing */ listen_pid = getenv ("LISTEN_PID"); listen_fds = getenv ("LISTEN_FDS"); @@ -635,7 +635,10 @@ main (int argc, fh = TALER_MHD_open_unix_path (serve_unixpath, unixpath_mode); if (-1 == fh) + { + TEAH_DEPOSIT_CONFIRMATION_done (); return 1; + } } mhd @@ -659,6 +662,7 @@ main (int argc, { fprintf (stderr, "Failed to start HTTP server.\n"); + TEAH_DEPOSIT_CONFIRMATION_done (); return 1; } @@ -732,6 +736,7 @@ main (int argc, break; } TALER_AUDITORDB_plugin_unload (TAH_plugin); + TEAH_DEPOSIT_CONFIRMATION_done (); return (GNUNET_SYSERR == ret) ? 1 : 0; } |