twister

HTTP fault injector for testing
Log | Files | Refs | README | LICENSE

commit b4bbe2c09fe266bd74f3b76f00a7b88c3701bac1
parent d4f3a2eed509d1719b58031a9fa74cd2e669327f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 20 Sep 2018 17:51:52 +0200

enable suspend resume

Diffstat:
Msrc/test/test_twister.sh | 5+++++
Msrc/twister/taler-twister-service.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/test/test_twister.sh b/src/test/test_twister.sh @@ -1,4 +1,9 @@ #!/bin/sh +if ! which curl > /dev/null +then + echo "curl not found"; + exit 77 +fi TWISTER_URL="http://localhost:8888/" diff --git a/src/twister/taler-twister-service.c b/src/twister/taler-twister-service.c @@ -2084,7 +2084,7 @@ run (void *cls, /* start MHD daemon for HTTP */ mhd_daemon = MHD_start_daemon - (MHD_USE_DEBUG, + (MHD_USE_DEBUG | MHD_ALLOW_SUSPEND_RESUME, (uint16_t) port, NULL, NULL, &create_response, NULL,