Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
b6cd41ea
Commit
b6cd41ea
authored
May 07, 2018
by
Philipp Schafft
🦁
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'admin-refactor' into ph3-devel
parents
0db820c9
cf217560
Pipeline
#138
passed with stage
in 46 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
148 additions
and
292 deletions
+148
-292
src/admin.c
src/admin.c
+140
-288
src/connection.c
src/connection.c
+8
-4
No files found.
src/admin.c
View file @
b6cd41ea
This diff is collapsed.
Click to expand it.
src/connection.c
View file @
b6cd41ea
...
...
@@ -914,11 +914,15 @@ static void _handle_get_request(client_t *client, char *uri) {
stats_event_inc
(
NULL
,
"client_connections"
);
/* Dispatch all admin requests */
if
((
strcmp
(
uri
,
"/admin.cgi"
)
==
0
)
||
(
strncmp
(
uri
,
"/admin/"
,
7
)
==
0
))
{
/* Dispatch legacy admin.cgi requests */
if
(
strcmp
(
uri
,
"/admin.cgi"
)
==
0
)
{
ICECAST_LOG_DEBUG
(
"Client %p requesting admin interface."
,
client
);
admin_handle_request
(
client
,
uri
);
admin_handle_request
(
client
,
uri
+
1
);
return
;
}
/* Dispatch all admin requests */
else
if
(
strncmp
(
uri
,
"/admin/"
,
7
)
==
0
)
{
ICECAST_LOG_DEBUG
(
"Client %p requesting admin interface."
,
client
);
admin_handle_request
(
client
,
uri
+
7
);
return
;
}
...
...
Philipp Schafft
🦁
@ph3-der-loewe
mentioned in issue
#2109
·
Jun 15, 2018
mentioned in issue
#2109
mentioned in issue #2109
Toggle commit list
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