[vlc-devel] [PATCH 2/2] http: get status before redirect

Thomas Guillem thomas at gllm.fr
Tue Mar 29 15:51:38 CEST 2016



On Tue, Mar 29, 2016, at 14:52, Rémi Denis-Courmont wrote:
> Le 2016-03-29 14:04, Thomas Guillem a écrit :
> > There is no way to know if vlc_http_*_get_redirect() returns NULL
> > because of a
> > connection failure (vlc_http_*_open() returning NULL) or because 
> > there is no
> > redirect.
> 
> By definition, there is no redirect if there is a connection failure.
> 
> > Call vlc_http_*_get_status() first in order to check if connection 
> > failed or
> > not.
> 
> While there is a bug, I don't think it's in access.c.

Is the bug in interrupt.c ?
In vlc_interrupt_finish(), ctx->interrupted is reset to false, therefore
the next call to an i11e function won't be interrupted. Is it intended ?

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list