search for: client_wants_content_length

Displaying 5 results from an estimated 5 matches for "client_wants_content_length".

2004 Aug 06
4
Missing headers in Icecast2
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 "f...
2004 Aug 06
5
Missing headers in Icecast2
Hi Karl, Thanks for your help, About the "Connection:" header, you are right, it's: "Connection: close" and NOT "Connection: keep-alive". The protocol when the SERVER sends the data is http 1.0. It's http 1.1 when the browser requests the data. I don't understand the "Content-Length: 54000000" header either. Also I noticed the flash player on
2004 Aug 06
0
Missing headers in Icecast2
At 01:19 PM 12/8/2003 +1100, you wrote: >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 &g...
2004 Aug 06
2
Missing headers in Icecast2
On Sat, 2003-12-06 at 06: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 &q...
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...