Commit 6e23c0f8 authored by Michael Smith's avatar Michael Smith
Browse files

Fix a bug in one of the error (404) responses.

svn path=/trunk/icecast/; revision=3806
parent f349c3bf
...@@ -511,7 +511,7 @@ static void *_handle_connection(void *arg) ...@@ -511,7 +511,7 @@ static void *_handle_connection(void *arg)
else { else {
client->respcode = 404; client->respcode = 404;
bytes = sock_write(client->con->sock, bytes = sock_write(client->con->sock,
"HTTP/1.0 404 Not Found\r\nContent-Type: text/html\r\n<b>The file you requested could not be found</b>\r\n"); "HTTP/1.0 404 Not Found\r\nContent-Type: text/html\r\n\r\n<b>The file you requested could not be found</b>\r\n");
} }
avl_tree_unlock(global.source_tree); avl_tree_unlock(global.source_tree);
if(bytes > 0) client->con->sent_bytes = bytes; if(bytes > 0) client->con->sent_bytes = bytes;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment