Displaying 4 results from an estimated 4 matches for "client_send_404".
Did you mean:
client_send_400
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...ted yet.
** we need to handle the latter two before the former, as the latter two
** aren't subject to the limits.
*/
/* TODO: add GUID-xxxxxx */
+ /* Handle default requests */
+ if(strcmp(uri, "/") == 0) {
+ if(default_mount == NULL) {
+ client_send_404(client, "The file you requested could not be found");
+ return;
+ }
+ uri = default_mount;
+ }
+
/* Dispatch all admin requests */
if (strncmp(uri, "/admin/", 7) == 0) {
admin_handle_request(client, uri);
@@ -705,6 +724,12 @@
}...
2004 Aug 06
2
improved error.log output --diff
..._find_mount(uri) != NULL) {
avl_tree_unlock(global.source_tree);
- INFO1("Source tried to log in as %s, but mountpoint is already used", uri);
+ INFO1("Source tried to log in as %s, but mountpoint is already used, %s", uri, client->con->ip);
client_send_404(client, "Mountpoint in use");
return;
}
@@ -641,7 +641,7 @@
stats_event_inc(NULL, "stats_connections");
if (!connection_check_admin_pass(parser)) {
- ERROR0("Bad password for stats connection");
+ ERROR0("Bad...
2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...if available */
+ if ( (m3u_requested == 0) && (pls_requested == 0) && (asx_requested == 0) && (ram_requested == 0) && (qtl_requested == 0) )
{
WARN2 ("req for file \"%s\" %s", fullpath, strerror (errno));
client_send_404 (httpclient, "The file you requested could not be found");
@@ -397,6 +417,10 @@
return -1;
}
m3u_file_available = 0;
+ pls_file_available = 0;
+ asx_file_available = 0;
+ ram_file_available = 0;
+ qtl_file_available = 0;
}...
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