Commit 39c5021b authored by Karl Heyes's avatar Karl Heyes

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
parent d4abe04f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment