aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-02 08:02:20 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-02 08:02:20 +0100
commit5a7dd001250da73ce2236f245b6bba9a1663477e (patch)
treee3e45fcc971fb084fb274443c87984f38e398dd6 /src/exchange/taler-exchange-httpd.h
parente8fc5d8d5c5eb07c9b6be41fd9bab0552a6ac672 (diff)
improve suicide logic
Diffstat (limited to 'src/exchange/taler-exchange-httpd.h')
-rw-r--r--src/exchange/taler-exchange-httpd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.h b/src/exchange/taler-exchange-httpd.h
index d52ce1a0..4f59a582 100644
--- a/src/exchange/taler-exchange-httpd.h
+++ b/src/exchange/taler-exchange-httpd.h
@@ -158,6 +158,13 @@ extern int TEH_allow_keys_timetravel;
extern char *TEH_revocation_directory;
/**
+ * True if we should commit suicide once all active
+ * connections are finished. Also forces /keys requests
+ * to terminate if they are long-polling.
+ */
+extern bool TEH_suicide;
+
+/**
* Master public key (according to the
* configuration in the exchange directory).
*/