search for: thread_renam

Displaying 2 results from an estimated 2 matches for "thread_renam".

Did you mean: thread_rename
2004 Aug 06
3
[PATCH] is it of any interest ?
...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) { + while ((count = fread(buffer, 1, sizeof(buffer), cgioutput))) { + sock_write_bytes(con->sock, buffer, count); + } + status = pclose(...
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