[vlc-devel] [PATCH] demux: adaptive: case-insensitive compare of scheme

Zhao Zhili quinkblack at foxmail.com
Thu Feb 8 02:36:15 CET 2018


Hi Francois,

On 2018年02月08日 05:05, Francois Cartegnie wrote:
> Le 05/02/2018 à 09:05, Zhao Zhili a écrit :
>> ---
>>   modules/demux/adaptive/http/ConnectionParams.cpp | 13 +++++++------
>>   1 file changed, 7 insertions(+), 6 deletions(-)
> I hardly see how a sheme can be uppercase
>

RFC 2616 says

         - Comparisons of scheme names MUST be case-insensitive;

Although I'm not sure whether it apply to this case literally since we 
are not compare two URLs.




More information about the vlc-devel mailing list