merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit ab2268f1f564aa92e76dcbffb3dae0fc442ff5ae
parent 89c5d1fc4422f5aa7ca4989677ebe58885382671
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  7 Apr 2016 10:32:50 +0200

add timeout of 5s for requests

Diffstat:
Msrc/backend/taler-merchant-httpd.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c @@ -638,6 +638,8 @@ run (void *cls, &url_handler, NULL, MHD_OPTION_NOTIFY_COMPLETED, &handle_mhd_completion_callback, NULL, + MHD_OPTION_CONNECTION_TIMEOUT, + (unsigned int) 10 /* 10s */, MHD_OPTION_END); EXITIF (NULL == mhd); result = GNUNET_OK;