diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 4813f9215..8f86bf798 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -146,6 +146,12 @@ handle_mhd_completion_callback (void *cls, return; TEH_PARSE_post_cleanup_callback (*con_cls); *con_cls = NULL; + /* check that we didn't leave any transactions hanging */ + /* NOTE: In high-performance production, we might want to + remove this. */ + TEH_plugin->preflight (TEH_plugin->cls, + TEH_plugin->get_session (TEH_plugin->cls)); + } |