curl-library
Re: SSL session sharing support added to curl_share_setopt()
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Nov 2011 14:14:09 +0100 (CET)
Date: Thu, 10 Nov 2011 14:14:09 +0100 (CET)
On Thu, 10 Nov 2011, Alejandro Álvarez Ayllón wrote:
> - Use a static counter. Locking would have to be unconditional even when
> sessions are not shared. Probably not ideal.
We can't use a static counter as we have no "unconditional locking", so that's
a no-go.
> - Share a struct with the counter plus the array, instead of only the
> array.
This is the only working way to do it... It shouldn't be _that_ much work to
fix though.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-10