[vlc-devel] [PATCH 2/2] http: get status before redirect
Rémi Denis-Courmont
remi at remlab.net
Tue Mar 29 14:52:06 CEST 2016
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.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list