]> git.tuebingen.mpg.de Git - paraslash.git/commit
udp: Also send the EOF packet when a target is removed.
authorAndre Noll <maan@systemlinux.org>
Wed, 6 Oct 2010 21:38:17 +0000 (23:38 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 31 Oct 2010 11:18:24 +0000 (12:18 +0100)
commite7f4c5362b313e84bf048b87c35deea21d564a4b
tree970d11390e49fe9a42eef40cca00b5506366c7bc
parent23b1141809ea872a144d8dbe6d123e93e74094de
udp: Also send the EOF packet when a target is removed.

This notifies the client of the EOF condition and causes it to remove
its buffer tree.  Without this patch, the client keeps listening
which can lead to problems when the target is added later while a
different audio file is being streamed.

Also there is no point to check twice whether the chunk queue exists.
udp_send.c