[vlc-devel] [PATCH] Add http-referrer option to HTTP access module
kaarlo.raiha at gmail.com
Fri Nov 12 18:17:12 CET 2010
2010/11/12 Jonas Gehring <jonas.gehring at boolsoft.org>
> On 11/12/2010 12:55 AM, Jean-Baptiste Kempf wrote:
> > On Fri, Nov 12, 2010 at 12:51:11AM +0100, Jonas Gehring wrote :
> >> Thanks, I missed the comments on change_safe(). I moved the option
> >> definition outside of the change_safe() scope. The revised patch is
> >> attached.
> > I believe change_safe is per option.
> Hm, could you suggest a more appropriate place for the option?
I think J-B means that it should look something like:
add_integer( "http-caching", 4 * DEFAULT_PTS_DELAY / 1000, CACHING_TEXT,
CACHING_LONGTEXT, true )
add_string( "http-referrer", NULL, NULL, NULL, false )
add_string( "http-user-agent", NULL, NULL, NULL, false )
So your current patch turns http-caching non-safe since the http-referrer is
inserted between two connected elements.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel