Re: [Live-devel] dateHeader() obeys locale, but shouldn't

2024-02-28 Thread Ross Finlayson
Lauri, Thanks for the report. You are correct: The RTSP specification uses the HTTP/1.1 specification (RFC 2068) to define the format of the “Date:” header, which should not be localized. I have just installed a new version (2024.02.28) of the code that contains this fix. Ross Finlayson Liv

[Live-devel] dateHeader() obeys locale, but shouldn't

2024-02-28 Thread Lauri Nurmi
Hello, The “dateHeader()” function in RTSPCommon.cpp obeys the current locale, while it really shouldn't. As a result, Date: headers may be shown in localized format, which is undesirable and probably not allowed by the RTSP specification. To reproduce: Add “#include ” and add “setlocale(LC