summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-12 13:02:47 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-12 13:02:59 +0200
commit26f72f8572cf0d04cd0da718d34dad4ba479289c (patch)
treecb17c8d2ef4d8313e1d2c9b2312541275b4b4487 /src/exchange/taler-exchange-httpd.c
parentd4404cec14e632d94a4b3eca8b889c0c81f30b96 (diff)
downloadexchange-26f72f8572cf0d04cd0da718d34dad4ba479289c.tar.gz
exchange-26f72f8572cf0d04cd0da718d34dad4ba479289c.tar.bz2
exchange-26f72f8572cf0d04cd0da718d34dad4ba479289c.zip
fix refund handling: allow refund increases for the same coin
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index c614b711e..bca7a6231 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -238,7 +238,7 @@ handle_post_coins (const struct TEH_RequestHandler *rh,
root);
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_NOT_FOUND,
- TALER_EC_OPERATION_INVALID,
+ TALER_EC_OPERATION_UNKNOWN,
"requested operation on coin unknown");
}
@@ -1145,7 +1145,7 @@ run_main_loop (int fh,
(-1 == fh) ? serve_port : 0,
NULL, NULL,
&handle_mhd_request, NULL,
- MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 32,
+ MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 4,
MHD_OPTION_LISTEN_BACKLOG_SIZE, (unsigned int) 1024,
MHD_OPTION_LISTEN_SOCKET, fh,
MHD_OPTION_EXTERNAL_LOGGER, &TALER_MHD_handle_logs,