diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-12 11:34:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-12 11:34:57 +0100 |
commit | 09abf5e7e08c749c0a8904ba651e0357404e8aa9 (patch) | |
tree | 12cd3c8779a80f59d25e4a4f7f0e8158238938c2 /src/exchange | |
parent | 2a3de6555abde9a7159187e01ee140192b155f25 (diff) | |
download | exchange-09abf5e7e08c749c0a8904ba651e0357404e8aa9.tar.xz |
integrate new REST calls, add timeout to helper invocations
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 5 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 0eb4de59a..d9c565406 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -606,8 +606,6 @@ handle_post_management (const struct TEH_RequestHandler *rh, &exchange_pub, root); } -#if FIXME - /* not yet implemented! */ if (0 == strcmp (args[0], "keys")) { @@ -619,7 +617,6 @@ handle_post_management (const struct TEH_RequestHandler *rh, return TEH_handler_management_post_keys (connection, root); } -#endif if (0 == strcmp (args[0], "wire")) { @@ -808,7 +805,7 @@ handle_mhd_request (void *cls, { .url = "keys", .method = MHD_HTTP_METHOD_GET, - .handler.get = &TEH_handler_keys, + .handler.get = &TEH_handler_keys, // FIXME => TEH_keys_get_handler }, /* Requests for wiring information */ { diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 88ab2e309..6e778677a 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -1700,7 +1700,7 @@ krd_search_comparator (const void *key, MHD_RESULT -TEH_handler_keys_NEW (const struct TEH_RequestHandler *rh, +TEH_keys_get_handler (const struct TEH_RequestHandler *rh, struct MHD_Connection *connection, const char *const args[]) { |