aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-26 17:36:27 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-26 17:36:27 +0300
commit38dcc34b9c601a204c44546e99757b7abbac505e (patch)
tree0f85f5197ab04f21dae743dfa7ff230fa9d4a6b2 /src/testcurl
parent5ce0c23e37470b4e61ee431236b55bfc5d5744a9 (diff)
downloadlibmicrohttpd-38dcc34b9c601a204c44546e99757b7abbac505e.tar.gz
libmicrohttpd-38dcc34b9c601a204c44546e99757b7abbac505e.zip
test_large_put: added request timeout detection
Diffstat (limited to 'src/testcurl')
-rw-r--r--src/testcurl/test_large_put.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
index b6666533..abf5279b 100644
--- a/src/testcurl/test_large_put.c
+++ b/src/testcurl/test_large_put.c
@@ -776,11 +776,8 @@ testPutExternal (void)
776 MHD_run (d); 776 MHD_run (d);
777 } 777 }
778 if (multi != NULL) 778 if (multi != NULL)
779 { 779 mhdErrorExitDesc ("Request has been aborted by timeout");
780 curl_multi_remove_handle (multi, c); 780
781 curl_easy_cleanup (c);
782 curl_multi_cleanup (multi);
783 }
784 MHD_stop_daemon (d); 781 MHD_stop_daemon (d);
785 if (cbc.pos != strlen ("/hello_world")) 782 if (cbc.pos != strlen ("/hello_world"))
786 { 783 {