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
d1e8e7bf
Commit
d1e8e7bf
authored
Mar 06, 2003
by
Michael Smith
Browse files
Send a user-agent header on normal relay requests as well.
svn path=/trunk/icecast/; revision=4417
parent
f8783aed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/slave.c
View file @
d1e8e7bf
...
...
@@ -103,7 +103,10 @@ static void create_relay_stream(char *server, int port,
remotemount
);
}
else
{
sock_write
(
streamsock
,
"GET %s HTTP/1.0
\r\n\r\n
"
,
remotemount
);
sock_write
(
streamsock
,
"GET %s HTTP/1.0
\r\n
"
"User-Agent: "
ICECAST_VERSION_STRING
"
\r\n
"
"
\r\n
"
,
remotemount
);
}
memset
(
header
,
0
,
sizeof
(
header
));
if
(
util_read_header
(
con
->
sock
,
header
,
4096
)
==
0
)
{
...
...
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