[vlc-devel] Patch for Trac Ticket #2533 -- MMS startdelay

Keary Griffin keary.griffin at unwiredappeal.com
Fri Mar 26 22:38:41 CET 2010


I'm attaching a patch that I believe takes care of the issue in Ticket 
#2533 "MMS stream opening hangs for few minutes".  (This is a cleaned up 
version of the patch I mentioned in a previous thread)

The problem appears to be that even though VLC sends a request using 
"GET / HTTP/1.0" and does not request a keep-alive connection, the 
servers in question respond with a keep-alive connection.  I believe 
this is actually a server problem but it is pretty common.  This causes 
VLC to wait for a timeout before proceeding.

This patch makes VLC look for a "Connection: Keep-Alive" and 
Content-Length header, and if found only reads that much data from the 
connection.

Keary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlcmmsh.patch
Type: text/x-patch
Size: 2753 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100326/395dfb63/attachment.bin>


More information about the vlc-devel mailing list