Commit fa7b8bb8 authored by Karl Heyes's avatar Karl Heyes
Browse files

send host header on relay connect

svn path=/icecast/trunk/icecast/; revision=16257
parent 74e11b71
...@@ -205,11 +205,13 @@ static client_t *open_relay_connection (relay_server *relay) ...@@ -205,11 +205,13 @@ static client_t *open_relay_connection (relay_server *relay)
*/ */
sock_write(streamsock, "GET %s HTTP/1.0\r\n" sock_write(streamsock, "GET %s HTTP/1.0\r\n"
"User-Agent: %s\r\n" "User-Agent: %s\r\n"
"Host: %s\r\n"
"%s" "%s"
"%s" "%s"
"\r\n", "\r\n",
mount, mount,
server_id, server_id,
server,
relay->mp3metadata?"Icy-MetaData: 1\r\n":"", relay->mp3metadata?"Icy-MetaData: 1\r\n":"",
auth_header); auth_header);
memset (header, 0, sizeof(header)); memset (header, 0, sizeof(header));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment