Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
93
Issues
93
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
9a4491e4
Commit
9a4491e4
authored
Jul 13, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feature: Report Host:-header in <listener>
parent
5d0491ae
Pipeline
#321
failed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/admin.c
src/admin.c
+4
-0
No files found.
src/admin.c
View file @
9a4491e4
...
...
@@ -703,6 +703,10 @@ static inline xmlNodePtr __add_listener(client_t *client,
if
(
tmp
)
xmlNewTextChild
(
node
,
NULL
,
XMLSTR
(
"referer"
),
XMLSTR
(
tmp
));
tmp
=
httpp_getvar
(
client
->
parser
,
"host"
);
if
(
tmp
)
xmlNewTextChild
(
node
,
NULL
,
XMLSTR
(
"host"
),
XMLSTR
(
tmp
));
snprintf
(
buf
,
sizeof
(
buf
),
"%lu"
,
(
unsigned
long
)(
now
-
client
->
con
->
con_time
));
xmlNewTextChild
(
node
,
NULL
,
XMLSTR
(
mode
==
OMODE_LEGACY
?
"Connected"
:
"connected"
),
XMLSTR
(
buf
));
...
...
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