[vlc-devel] [PATCH] access/http: Inherit cookies from a parent HTTP access
    Antti Ajanki 
    antti.ajanki at iki.fi
       
    Sun Aug  3 18:51:25 CEST 2014
    
    
  
On 03.08.2014 11:34, Francois Cartegnie wrote:
>> -    http_cookie_jar_t * cookies;
>> +    bool b_free_cookies;
> Can't we just alter existing cookies and do a cleanup routine if jar
> exists ? That would allow remove expired cookies as well.
There is only one jar instance shared by all access objects, they all 
alter existing cookies in that jar. The boolean variable tracks that 
only the first HTTP access in the module chain frees the jar (the flag 
will be false for other access objects in the chain). Perhaps reference 
counting would be clearer?
Antti
    
    
More information about the vlc-devel
mailing list