diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-02 10:14:02 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-02 10:14:02 +0300 |
commit | 440809f76ab2128f886904d6c8ccb56e9efd7020 (patch) | |
tree | 3b13fed11764c5550ed4960ca8f392d0f609e353 | |
parent | dca52bf16a866de3c421402b28f277d16018ba74 (diff) | |
download | libmicrohttpd-440809f76ab2128f886904d6c8ccb56e9efd7020.tar.gz libmicrohttpd-440809f76ab2128f886904d6c8ccb56e9efd7020.zip |
test_client_put_stop: abort test if it is taking too long
-rw-r--r-- | src/microhttpd/test_client_put_stop.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
1504 | { | 1504 | { |
1505 | ret |= 1 << 2; | 1505 | ret |= 1 << 2; |
1506 | fprintf (stderr, "FAILED: Test total time exceeded.\n"); | 1506 | fprintf (stderr, "FAILED: Test total time exceeded.\n"); |
1507 | break; | ||
1507 | } | 1508 | } |
1508 | } | 1509 | } |
1509 | 1510 | ||