aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-11 17:18:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-11 17:18:18 +0000
commit29dc39fce1126265d8526be15beec3e3fdc1c11d (patch)
treefcedacc94aca54103fc19c03d0c114e997ee97c2 /tests/libtest
parent5c184cfc0d71a928b28ace2778bbe5064917f4da (diff)
- 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.
Diffstat (limited to 'tests/libtest')
-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) {