[vlc-devel] [PATCH] access/http: Inherit cookies from a parent HTTP access

Rémi Denis-Courmont remi at remlab.net
Sun Aug 3 19:30:04 CEST 2014


Le dimanche 3 août 2014, 19:45:46 Antti Ajanki a écrit :
> I am assuming that the parent access will only be destroyed after the
> child accesses have been destroyed (so that there will never be a
> dangling http-cookies pointer in a child access). Is this true?

No, this is not quite right. The parent VLC object (vlc_object_t) is retained 
until after the last of its children is deleted.

But the access module and access_t-specific members are not, for access modules 
are not reentrant.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list