Commit fcfbe92c authored by JRS's avatar JRS Committed by Philipp Schafft

Fix update_from_master() for receiving HTTP/1.1

Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
parent 63865a70
......@@ -649,7 +649,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