[xiph-commits] r9654 - icecast/branches/kh/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Sat Jul 30 07:06:42 PDT 2005


Author: karl
Date: 2005-07-30 07:06:40 -0700 (Sat, 30 Jul 2005)
New Revision: 9654

Modified:
   icecast/branches/kh/icecast/src/client.c
   icecast/branches/kh/icecast/src/connection.c
Log:
revert 1 change from previous patch as that was breaking relays, typically 
relays with shoutcast-style metadata as the alignment was out.


Modified: icecast/branches/kh/icecast/src/client.c
===================================================================
--- icecast/branches/kh/icecast/src/client.c	2005-07-30 10:57:11 UTC (rev 9653)
+++ icecast/branches/kh/icecast/src/client.c	2005-07-30 14:06:40 UTC (rev 9654)
@@ -71,7 +71,6 @@
     stats_event_args (NULL, "clients", "%d", global.clients);
     client->con = con;
     client->parser = parser;
-    client->refbuf = refbuf_new (PER_CLIENT_REFBUF_SIZE);
     client->pos = 0;
     client->write_to_client = format_generic_write_to_client;
     *c_ptr = client;

Modified: icecast/branches/kh/icecast/src/connection.c
===================================================================
--- icecast/branches/kh/icecast/src/connection.c	2005-07-30 10:57:11 UTC (rev 9653)
+++ icecast/branches/kh/icecast/src/connection.c	2005-07-30 14:06:40 UTC (rev 9654)
@@ -434,6 +434,7 @@
             global_unlock();
 
             /* setup client for reading incoming http */
+            client->refbuf = refbuf_new (PER_CLIENT_REFBUF_SIZE);
             client->refbuf->data [PER_CLIENT_REFBUF_SIZE-1] = '\000';
             client->refbuf->len--;  /* make sure we are nul terminated */
 



More information about the commits mailing list