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
f1d39a87
Commit
f1d39a87
authored
May 31, 2005
by
Karl Heyes
Browse files
send response header to stats client
svn path=/icecast/trunk/icecast/; revision=9330
parent
79adab01
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
f1d39a87
...
...
@@ -746,7 +746,13 @@ static void _handle_stats_request (client_t *client, char *uri)
return
;
}
stats_event_inc
(
NULL
,
"stats"
);
client
->
respcode
=
200
;
if
(
sock_write
(
client
->
con
->
sock
,
"HTTP/1.0 200 OK
\r\n\r\n
"
)
<
19
)
{
client_destroy
(
client
);
ERROR0
(
"failed to write header"
);
return
;
}
thread_create
(
"Stats Connection"
,
stats_connection
,
(
void
*
)
client
,
THREAD_DETACHED
);
}
...
...
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