mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix update_from_master() for receiving HTTP/1.1
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
This commit is contained in:
parent
6e2773a43d
commit
a552c6e667
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user