[vlc-devel] [PATCH] Correct content length and stream close issues
Bill C. Riemers
briemers at redhat.com
Fri Jun 20 21:44:11 CEST 2008
1. Don't send Connection: close or Connection: Keep-Alive. So we will
maintain a persistent connection with http 1.1.
2. Close the connection if and only if the server does not send
Connection: close, and a zero length is received indicated by either
Content-Length: 0 or a 0 length size in the byte range. (Note: A
server should never send a 0 length byte range, but it doesn't hurt to
3. Correct i_remaining to deal with files larger than 2GBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5190 bytes
Desc: not available
More information about the vlc-devel