[Ffmpeg-devel] [PATCH] close connection on end-of-file

Guillaume POIRIER poirierg
Sun Mar 4 13:00:06 CET 2007


Hi,

On 3/4/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
>
> On Sat, Mar 03, 2007 at 04:48:36PM -0500, Ronald S. Bultje wrote:
> > Hi,
> >
> > as suggested earlier by Ryan (he took the effort to read the http specs
> > more carefully, I just implemented it :-) ), The http request header
> > property connection:close is needed for _some_ 1.1 HTTP servers to close
> > the connection at the end of file. Servers can use this to do messaging
> > between client and server over the same connection (think SOAP-style
> > stuff). We obviously don't want that, we just want the data. Attached
> > patch implements it and makes downloading some asx files from MS
> > streaming servers work again (they would hang on eos).
> >
> > Using the Content-Length property is not an option by the way, since
> > those same MS streaming servers give a faulty Content-Length value, i.e.
> > you only get half the file if you use that.
>
> could you show the whole request-response from such a server, iam just
> curious ...
>
> and iam fine with the patch

Applied;

Guillaume




More information about the ffmpeg-devel mailing list