Displaying 4 results from an estimated 4 matches for "ock_write".
Did you mean:
sock_write
2004 Aug 06
3
Missing headers in Icecast2
Hi everybody,
Assorgia and me, we have worked on the Flash client for Icecast2. We got
successful results with:
-Windows (Netscape, Mozilla, CompuServe, or Opera) -Macintosh and
Linux(Netscape, Internet Explorer for Macintosh, Safari, AOL, Opera, or
CompuServe)
For Windows (Internet Explorer or AOL) some headers sent by Icecast2 are
missing. These headers are sent by Icecast1 but NOT Icecast2
2004 Aug 06
0
Missing headers in Icecast2
...us the best solution to force Icecast2 to send these
> headers to the browser? Should we build a patch or simply change some source
> codes and compile the modified source?
add a couple of lines to verify it
in format_mp3.c at the end of function format_mp3_send_headers
Add something like
ock_write(client->con->sock, "Cache-Control: no-cache\r\n");
and whatever else.
karl.
<p>--- >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@xiph.org...
2004 Aug 06
0
Missing headers in Icecast2
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 s...
2004 Aug 06
5
Missing headers in Icecast2
...us the best solution to force Icecast2 to send these
> headers to the browser? Should we build a patch or simply change some
source
> codes and compile the modified source?
add a couple of lines to verify it
in format_mp3.c at the end of function format_mp3_send_headers
Add something like
ock_write(client->con->sock, "Cache-Control: no-cache\r\n");
and whatever else.
karl.
<p>--- >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@xiph.org...