Commit fa7b8bb8 authored by Karl Heyes's avatar Karl Heyes

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)
*/
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));
......
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