[xiph-commits] r8412 - trunk/oggdsf/src/lib/core/directshow/dsfOggDemux

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Wed Dec 15 03:45:54 PST 2004


Author: illiminable
Date: 2004-12-15 03:45:53 -0800 (Wed, 15 Dec 2004)
New Revision: 8412

Modified:
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPSocket.cpp
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourceFilter.cpp
Log:
* Fixed high latency when stopping on a chunked transfer server. wasn'tincluding Connection: close in the http request... no idea how that affect premature termination of a stream and the latency of closeoscket but it does.

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPSocket.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPSocket.cpp	2004-12-15 11:33:22 UTC (rev 8411)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPSocket.cpp	2004-12-15 11:45:53 UTC (rev 8412)
@@ -133,7 +133,7 @@
 
 string HTTPSocket::assembleRequest(string inFilePath) {
 	string retRequest;
-	retRequest = "GET " + inFilePath+ " HTTP/1.1\n" + "Host: " + mServerName+ "\n\n";
+	retRequest = "GET " + inFilePath+ " HTTP/1.1\n" + "Host: " + mServerName+ "\n" + "Connection: close" + "\n\n";
 	//debugLog2<<"Assembled Req : "<<endl<<retRequest<<endl;
 	return retRequest;
 }

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourceFilter.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourceFilter.cpp	2004-12-15 11:33:22 UTC (rev 8411)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourceFilter.cpp	2004-12-15 11:45:53 UTC (rev 8412)
@@ -676,6 +676,7 @@
 	Close();
 	DeliverBeginFlush();
 	DeliverEndFlush();
+	
 	return CBaseFilter::Stop();
 }
 



More information about the commits mailing list