From 29dc39fce1126265d8526be15beec3e3fdc1c11d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Sep 2006 17:18:18 +0000 Subject: - Fixed my breakage from earlier today so that doing curl_easy_cleanup() on a handle that is part of a multi handle first removes the handle from the stack. - Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL session-ID re-use on demand since there obviously are broken servers out there that misbehave with session-IDs used. --- tests/libtest/lib526.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/libtest/lib526.c') 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) { -- cgit v1.2.3