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
fa7b8bb8
Commit
fa7b8bb8
authored
Jul 11, 2009
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send host header on relay connect
svn path=/icecast/trunk/icecast/; revision=16257
parent
74e11b71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/slave.c
src/slave.c
+2
-0
No files found.
src/slave.c
View file @
fa7b8bb8
...
...
@@ -205,11 +205,13 @@ static client_t *open_relay_connection (relay_server *relay)
*/
sock_write
(
streamsock
,
"GET %s HTTP/1.0
\r\n
"
"User-Agent: %s
\r\n
"
"Host: %s
\r\n
"
"%s"
"%s"
"
\r\n
"
,
mount
,
server_id
,
server
,
relay
->
mp3metadata
?
"Icy-MetaData: 1
\r\n
"
:
""
,
auth_header
);
memset
(
header
,
0
,
sizeof
(
header
));
...
...
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