On Sat, May 4, 2013 at 7:31 PM, Marc Hoersken <[email protected]> wrote:

> I was looking into this issue again, but I still cannot understand why
> data->state.session is NULL in Curl_ssl_getsessionid during
> Curl_ssl_shutdown.
>

It is because of the line @ multi.c:1767
conn->data = multi->closure_handle;

It replaces the "correct" state (which has session properly allocated) with
the closure_handle which does not have it.

I can't figure out the correct fix.
Should it be illegal to call Curl_ssl_getsessionid from cleanup or should
this closure_handle have this state copied from the actual data?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to