1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04: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:
Karl Heyes 2005-06-09 13:29:11 +00:00
parent d4abe04f9f
commit 39c5021b7c

View File

@ -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;
}