[vlc-devel] [PATCH] demux/adaptive: handle redirections in HTTPConnection

Francois Cartegnie fcvlcdev at free.fr
Fri Jul 7 10:37:56 CEST 2017


Le 07/07/2017 à 03:44, Zhao Zhili a écrit :
>>
>> @@ -95,8 +104,7 @@ namespace adaptive
>>                  bool                chunked_eof;
>>                  size_t              chunkLength;
>>                  bool                queryOk;
>> -                int                 retries;
>> -                static const int    retryCount = 5;
>> +                static const int    maxRedirectCount = 5;
>>

I haven't tested but I'm not sure it does not break 300 or ports redirects.

And if you remove the retrycount, you break pipelining (connection
terminated on server max requests).


Francois


More information about the vlc-devel mailing list