diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-09-11 17:18:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-09-11 17:18:18 +0000 |
commit | 29dc39fce1126265d8526be15beec3e3fdc1c11d (patch) | |
tree | fcedacc94aca54103fc19c03d0c114e997ee97c2 /tests/libtest/lib526.c | |
parent | 5c184cfc0d71a928b28ace2778bbe5064917f4da (diff) | |
download | curl-29dc39fce1126265d8526be15beec3e3fdc1c11d.tar.gz |
- 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/lib526.c')
-rw-r--r-- | tests/libtest/lib526.c | 3 |
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) { |