Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
6e23c0f8
Commit
6e23c0f8
authored
Aug 12, 2002
by
Michael Smith
Browse files
Fix a bug in one of the error (404) responses.
svn path=/trunk/icecast/; revision=3806
parent
f349c3bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
6e23c0f8
...
@@ -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\n
Content-Type: text/html
\r\n
<b>The file you requested could not be found</b>
\r\n
"
);
"HTTP/1.0 404 Not Found
\r\n
Content-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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment