[icecast-dev] Missing headers in Icecast2

Michael Smith msmith at xiph.org
Sun Dec 7 18:00:28 PST 2003

On Saturday 06 December 2003 17:12, Macsym wrote:
> Hi Karl,
> I just checked in Icecast1 source, the line:
> if (client_wants_content_length (con))
> 	    sock_write (con->sock, "Cache-Control: no-cache\r\nPragma:
> no-cache\r\nConnection: close\r\nContent-Length: 54000000\r\n");
> is located in "client.c". Shouldn't I add this line in "client.c" of
> Icecast2 instead of "format_mp3.c" as you advised me? If so, what should I
> add exactly and where in the code (of Icecast2's client.c)?

These are presumably for working around bugs in certain clients - we could 
consider doing something similar, turning this on if the user-agent matched 
some database of "horribly broken clients".


--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast-dev mailing list