[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


Changes:
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
    check.)
3. Correct i_remaining to deal with files larger than 2GBi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Correct-http-content-length-and-stream-close-issues.patch
Type: text/x-patch
Size: 5190 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080620/42d2ede7/attachment.bin>


More information about the vlc-devel mailing list