mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
don't be too quick when dealing with files. allow the limited per-client
loop but don't trigger a small poll timeout svn path=/icecast/trunk/icecast/; revision=9418
This commit is contained in:
parent
d4abe04f9f
commit
39c5021b7c
@ -499,7 +499,8 @@ static void send_to_listener (source_t *source, client_t *client, int deletion_e
|
|||||||
sleep for too long if more data can be sent */
|
sleep for too long if more data can be sent */
|
||||||
if (total_written > 20000 || loop == 0)
|
if (total_written > 20000 || loop == 0)
|
||||||
{
|
{
|
||||||
source->short_delay = 1;
|
if (client->check_buffer != format_check_file_buffer)
|
||||||
|
source->short_delay = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user