[Ffmpeg-devel] [PATCH] close connection on end-of-file
Ronald S. Bultje
Sat Mar 3 22:48:36 CET 2007
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 425 bytes
Desc: not available
More information about the ffmpeg-devel