[xiph-commits] r10526 - experimental/j/Elphel333/http

giles at svn.xiph.org giles at svn.xiph.org
Fri Dec 2 12:10:07 PST 2005


Author: giles
Date: 2005-12-02 12:10:06 -0800 (Fri, 02 Dec 2005)
New Revision: 10526

Modified:
   experimental/j/Elphel333/http/TheoraHTTP.c
Log:
Use DOS-style EOL on the HTTP headers as per spec. Many tools cope with 
just \n, but totem-gstreamer and VLC are two examples that don't. :)


Modified: experimental/j/Elphel333/http/TheoraHTTP.c
===================================================================
--- experimental/j/Elphel333/http/TheoraHTTP.c	2005-12-02 20:01:00 UTC (rev 10525)
+++ experimental/j/Elphel333/http/TheoraHTTP.c	2005-12-02 20:10:06 UTC (rev 10526)
@@ -464,9 +464,9 @@
     // OK - init data
 
     // General LOOP waiting command START
-    printf("HTTP/1.0 200 OK\n");
-    printf("Content-Type: application/ogg\n");
-    printf("Pragma: no-cache\n\n");
+    printf("HTTP/1.0 200 OK\r\n");
+    printf("Content-Type: application/ogg\r\n");
+    printf("Pragma: no-cache\r\n\r\n");
 
 
     while(true) {



More information about the commits mailing list