[FFmpeg-devel] [PATCH] mmsh:// "400 bad request" fix

Michael Niedermayer michaelni at gmx.at
Thu Jun 16 20:58:00 CEST 2011


On Thu, Jun 16, 2011 at 11:29:28AM -0400, Kirill Zorin wrote:
> There is no need to write two HTTP newlines (\r\n) into "headers",
> because http_connect (in http.c) already appends one HTTP newline at
> the end of the given headers chunk, which would result in sending
> three HTTP newlines after the headers. Most of the time it's okay
> (although not RFC-conforming), but many proxy servers and the
> occasional strict httpd will puke with a "400 bad request".
> 
> ---
>  ffmpeg/libavformat/mmsh.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

applied, thx

btw your patches are a bit oddly formated

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110616/a0e1618c/attachment.asc>


More information about the ffmpeg-devel mailing list