]> git.tuebingen.mpg.de Git - paraslash.git/commit
Rewrite chunk queueing.
authorAndre Noll <maan@systemlinux.org>
Wed, 8 Aug 2007 22:00:45 +0000 (00:00 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 8 Aug 2007 22:00:45 +0000 (00:00 +0200)
commit245b44acd4f1c16395844683f6aff10699967dc0
treec455b5a764c09cc9886e78a44d1277067b368cd1
parentd3eb6494a1883dac8a59ba3c82ada0fbc8ce0971
Rewrite chunk queueing.

Since paraslash-0.2.16 the audio file is mmapped, so it is no longer neccessary
to make a copy of the chunk data in case a chunk can not be sent immediately
because the write would block. Just remember the chunk number and the number of
bytes of that chunk which were sent (non-zero in case of short writes).

The chunk data can then be retrieved by the new vss_get_chunk() function.
error.h
http_send.c
vss.c
vss.h