[xiph-commits] r16257 - icecast/trunk/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Fri Jul 10 18:23:17 PDT 2009


Author: karl
Date: 2009-07-10 18:23:16 -0700 (Fri, 10 Jul 2009)
New Revision: 16257

Modified:
   icecast/trunk/icecast/src/slave.c
Log:
send host header on relay connect


Modified: icecast/trunk/icecast/src/slave.c
===================================================================
--- icecast/trunk/icecast/src/slave.c	2009-07-11 00:22:29 UTC (rev 16256)
+++ icecast/trunk/icecast/src/slave.c	2009-07-11 01:23:16 UTC (rev 16257)
@@ -205,11 +205,13 @@
          */
         sock_write(streamsock, "GET %s HTTP/1.0\r\n"
                 "User-Agent: %s\r\n"
+                "Host: %s\r\n"
                 "%s"
                 "%s"
                 "\r\n",
                 mount,
                 server_id,
+                server,
                 relay->mp3metadata?"Icy-MetaData: 1\r\n":"",
                 auth_header);
         memset (header, 0, sizeof(header));



More information about the commits mailing list