On Jun 23, 2013, at 4:37 PM, Ross Finlayson <finlay...@live555.com> wrote:
>> I recently came across a client who sends our LIVE555 based RTSP server an >> HTTP message with a base64 encoded RTSP command that contains CR/LF. It >> seems fairly standard for a base64 decoder to support CR/LF, at least on 4 >> char boundaries, so I wrote up a patch to base64Decode to allow this. Then >> I discovered how the fragmented base64 message reading is implemented in >> RTSPServer and determined that the fix would not be so simple. > > Rather than put CR/LF (or other whitespace) removal inside the Base-64 > decoding routine, we can just add a whitespace-removing pass to the > "RTSPServer" code, before we call "base64Decode()". I'll add this change to > the next release of the code. FYI, the latest version (2013.06.30) of the code includes this change. I hope it works OK for you. Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel