]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
udp_send: Force chunk queuing.
authorAndre Noll <maan@systemlinux.org>
Tue, 6 Apr 2010 17:51:17 +0000 (19:51 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 6 Apr 2010 17:51:17 +0000 (19:51 +0200)
This adds the public cq_force_enqueue() function to chunk_queue.c.
Unlike cq_enqueue() the new function does not return an error if the
queue is full, but drops old chunks from the queue in order to make
space for the new chunk.

The upd sender uses the new function to avoid kicking targets.


No differences found