mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -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 */
|
||||
if (total_written > 20000 || loop == 0)
|
||||
{
|
||||
source->short_delay = 1;
|
||||
if (client->check_buffer != format_check_file_buffer)
|
||||
source->short_delay = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user