summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-15 14:40:08 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-15 14:40:08 +0100
commit20c0c01d02f6b388af3ef26db0b7c4953e7a9213 (patch)
tree60be627959286868f29122dc8be778122108e272 /src/exchange/taler-exchange-httpd.c
parent4a519078e803c8ff042833a2200c5b6a0297fbe7 (diff)
downloadexchange-20c0c01d02f6b388af3ef26db0b7c4953e7a9213.tar.gz
exchange-20c0c01d02f6b388af3ef26db0b7c4953e7a9213.tar.bz2
exchange-20c0c01d02f6b388af3ef26db0b7c4953e7a9213.zip
fix new /keys shutdown sequence
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 19bba0b8b..6009672f1 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1417,7 +1417,7 @@ run_single_request (void)
}
MHD_run (mhd);
}
- TEH_resume_keys_requests ();
+ TEH_resume_keys_requests (true);
MHD_stop_daemon (mhd);
mhd = NULL;
if (cld != waitpid (cld,
@@ -1486,7 +1486,7 @@ run_main_loop (int fh,
{
case GNUNET_OK:
case GNUNET_SYSERR:
- TEH_resume_keys_requests ();
+ TEH_resume_keys_requests (true);
MHD_stop_daemon (mhd);
break;
case GNUNET_NO:
@@ -1542,13 +1542,13 @@ run_main_loop (int fh,
num_connections)
sleep (1);
/* Now we're really done, practice clean shutdown */
- TEH_resume_keys_requests ();
+ TEH_resume_keys_requests (true);
MHD_stop_daemon (mhd);
}
break;
default:
GNUNET_break (0);
- TEH_resume_keys_requests ();
+ TEH_resume_keys_requests (true);
MHD_stop_daemon (mhd);
break;
}