aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib526.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib526.c')
-rw-r--r--tests/libtest/lib526.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/lib526.c b/tests/libtest/lib526.c
index de3a36d02..04240808f 100644
--- a/tests/libtest/lib526.c
+++ b/tests/libtest/lib526.c
@@ -71,6 +71,9 @@ int test(char *URL)
res = (int)curl_multi_perform(m, &running);
if (running <= 0) {
#ifdef LIB527
+ /* NOTE: this code does not remove the handle from the multi handle
+ here, which would be the nice, sane and documented way of working.
+ This however tests that the API survives this abuse gracefully. */
curl_easy_cleanup(curl[current]);
#endif
if(++current < NUM_HANDLES) {