summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-12 11:34:57 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-12 11:34:57 +0100
commit09abf5e7e08c749c0a8904ba651e0357404e8aa9 (patch)
tree12cd3c8779a80f59d25e4a4f7f0e8158238938c2 /src/exchange
parent2a3de6555abde9a7159187e01ee140192b155f25 (diff)
downloadexchange-09abf5e7e08c749c0a8904ba651e0357404e8aa9.tar.gz
exchange-09abf5e7e08c749c0a8904ba651e0357404e8aa9.tar.bz2
exchange-09abf5e7e08c749c0a8904ba651e0357404e8aa9.zip
integrate new REST calls, add timeout to helper invocations
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd.c5
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 0eb4de59..d9c56540 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 88ab2e30..6e778677 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[])
{