search for: ice_strncmp

Displaying 4 results from an estimated 4 matches for "ice_strncmp".

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
1
Why doesn't yp.icecast.org show my stream?
...I check darkice: > Icecast.cpp: > ... > str = "\nx-audiocast-public: "; > sink->write( str, strlen( str)); > str = getIsPublic() ? "yes" : "no"; > sink->write( str, strlen( str)); > and then icecast: > .... > else if (ice_strncmp(command, "x-audiocast-public", 18) == 0) > source->audiocast.public = atoi (arg); > So icecast expects "1" or "0" while darkice writes "yes" or "no". > I'll patch darkice right quick to verify. Thank god! This works, I'...
2004 Aug 06
2
Why doesn't yp.icecast.org show my stream?
...networks Darkice has: public = yes So I check darkice: Icecast.cpp: ... str = "\nx-audiocast-public: "; sink->write( str, strlen( str)); str = getIsPublic() ? "yes" : "no"; sink->write( str, strlen( str)); and then icecast: .... else if (ice_strncmp(command, "x-audiocast-public", 18) == 0) source->audiocast.public = atoi (arg); So icecast expects "1" or "0" while darkice writes "yes" or "no". I'll patch darkice right quick to verify. ------ Dave Hayes - Consultant - Altadena C...
2004 Aug 06
3
[PATCH] is it of any interest ?
...E diff -ubrw icecast-1.3.11/src/client.c icecast-1.3.11-cgipatch/src/client.c --- icecast-1.3.11/src/client.c Thu Aug 2 01:06:53 2001 +++ icecast-1.3.11-cgipatch/src/client.c Wed Nov 7 15:26:24 2001 @@ -206,6 +206,42 @@ return; } +#ifdef HAVE_UNISTD_H + if (ice_strncmp(req.path, "/cgi-bin/", 9) == 0) { + char *fname; + FILE *cgioutput; + char buffer[8192]; + int status; + size_t count; + + thread_rename("CGI Script Thread"); + fname = req.path + 9; + if (*fname) { + cgioutput = popen(fname, "r"); + if (cgioutput != NULL)...