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
1fb972cf
Commit
1fb972cf
authored
Jan 18, 2003
by
Michael Smith
Browse files
And some more message fixes (this and the previous from alet@librelogiciel.com (Jerome Alet)
svn path=/trunk/icecast/; revision=4262
parent
6d4ef5e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
1fb972cf
...
...
@@ -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
;
}
...
...
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