Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
1fb972cf
Commit
1fb972cf
authored
Jan 18, 2003
by
Michael Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/connection.c
src/connection.c
+2
-2
No files found.
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
Markdown
is supported
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