1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Strange patch for ICY

This commit is contained in:
Philipp Schafft 2019-09-17 18:08:57 +00:00
parent f83fe87ab9
commit ddafdd971f

View File

@ -464,11 +464,14 @@ static void process_request_queue (void)
}
}
if (len > 0) {
if (len > 0 || node->shoutcast > 1) {
ssize_t stream_offset = -1;
int pass_it = 1;
char *ptr;
if (len < 0 && node->shoutcast > 1)
len = 0;
/* handle \n, \r\n and nsvcap which for some strange reason has
* EOL as \r\r\n */
node->offset += len;