[Libav-user] ffmpeg hls and 3 cookies

Josh Gustafson josh.gustafson at simplecontrol.com
Wed Jan 4 22:32:39 EET 2017


On Wed, Jan 4, 2017 at 12:58 PM, Georg Stein SMC <georg at steinmc.com> wrote:

> Hello,
>
> in the log i get: (tried with '$'\r\n, \r\n, \n and all other combinations
> i could imagine to get the CRLF)
>
> [https @ 02fd0b20] No trailing CRLF found in HTTP header.
>
Totally guessing here, but a proper HTTP header is terminated by *two*
CRLFs, ie "\r\n\r\n". (Or, put another way, each HTTP header line is
terminated by a CRLF, and the header as a whole is terminated by an empty
line; so the header ends with the CRLF from the last line, plus the CRLF
from the empty line.) Are you terminating your string with two CRLFs?

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170104/7248dcc8/attachment.html>


More information about the Libav-user mailing list