diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-17 17:53:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-17 17:53:16 +0100 |
commit | cda751eaa50bfc25726402be4487dfe72625d92d (patch) | |
tree | 11f8e04384533e4b372f6c4bd89b73d0d8090a43 /src | |
parent | c60e6184fd6552d5bb67f70a5a8a2502c9a74ee4 (diff) | |
download | exchange-cda751eaa50bfc25726402be4487dfe72625d92d.tar.xz |
eventually kick out /keys clients also if ksh exists but krd array is empty
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index b11832e72..3db4ef7ca 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -3232,7 +3232,8 @@ TEH_keys_get_handler (struct TEH_RequestContext *rc, const struct KeysResponseData *krd; ksh = TEH_keys_get_state (); - if (NULL == ksh) + if ( (NULL == ksh) || + (0 == ksh->krd_array_length) ) { if ( ( (SKR_LIMIT == skr_size) && (rc->connection == skr_connection) ) || |