Commit a552c6e6 authored by JRS's avatar JRS Committed by Marvin Scholz

Fix update_from_master() for receiving HTTP/1.1

Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
parent 6e2773a4
......@@ -646,7 +646,7 @@ static int update_from_master(ice_config_t *config)
free(data);
if (sock_read_line(mastersock, buf, sizeof(buf)) == 0 ||
strncmp (buf, "HTTP/1.0 200", 12) != 0)
(strncmp (buf, "HTTP/1.0 200", 12) != 0) && (strncmp (buf, "HTTP/1.1 200", 12) != 0))
{
sock_close (mastersock);
ICECAST_LOG_WARN("Master rejected streamlist request");
......
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