From 440809f76ab2128f886904d6c8ccb56e9efd7020 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Thu, 2 Dec 2021 10:14:02 +0300 Subject: [PATCH] test_client_put_stop: abort test if it is taking too long --- src/microhttpd/test_client_put_stop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c index d5589fd7..bb49da07 100644 --- a/src/microhttpd/test_client_put_stop.c +++ b/src/microhttpd/test_client_put_stop.c @@ -1504,6 +1504,7 @@ performTestQueries (struct MHD_Daemon *d, int d_port, { ret |= 1 << 2; fprintf (stderr, "FAILED: Test total time exceeded.\n"); + break; } }