1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

And some more message fixes (this and the previous from alet@librelogiciel.com (Jerome Alet)

svn path=/trunk/icecast/; revision=4262
This commit is contained in:
Michael Smith 2003-01-18 07:39:29 +00:00
parent 6d4ef5e519
commit 1fb972cf89

View File

@ -589,7 +589,7 @@ static void _handle_get_request(connection_t *con,
/* there are several types of HTTP GET clients
** media clients, which are looking for a source (eg, URI = /stream.ogg)
** stats clients, which are looking for /stats.xml
** stats clients, which are looking for /admin/stats.xml
** and director server authorizers, which are looking for /GUID-xxxxxxxx
** (where xxxxxx is the GUID in question) - this isn't implemented yet.
** we need to handle the latter two before the former, as the latter two
@ -598,7 +598,7 @@ static void _handle_get_request(connection_t *con,
/* TODO: add GUID-xxxxxx */
if (strcmp(uri, "/admin/stats.xml") == 0) {
if (!_check_source_pass(parser)) {
INFO0("Request for stats.xml with incorrect or no password");
INFO0("Request for /admin/stats.xml with incorrect or no password");
client_send_401(client);
return;
}