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:
parent
f83fe87ab9
commit
ddafdd971f
@ -464,11 +464,14 @@ static void process_request_queue (void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (len > 0) {
|
if (len > 0 || node->shoutcast > 1) {
|
||||||
ssize_t stream_offset = -1;
|
ssize_t stream_offset = -1;
|
||||||
int pass_it = 1;
|
int pass_it = 1;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
|
|
||||||
|
if (len < 0 && node->shoutcast > 1)
|
||||||
|
len = 0;
|
||||||
|
|
||||||
/* handle \n, \r\n and nsvcap which for some strange reason has
|
/* handle \n, \r\n and nsvcap which for some strange reason has
|
||||||
* EOL as \r\r\n */
|
* EOL as \r\r\n */
|
||||||
node->offset += len;
|
node->offset += len;
|
||||||
|
Loading…
Reference in New Issue
Block a user