]> git.tuebingen.mpg.de Git - paraslash.git/commit
Allow addblob commands to create output.
authorAndre Noll <maan@systemlinux.org>
Tue, 24 Jul 2012 06:14:12 +0000 (08:14 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 3 Apr 2013 22:37:26 +0000 (22:37 +0000)
commitd1407f108ef0c136c77dfd82706c35f9453047aa
treeb021081dd0ffe60094697fb5080be99997c9d315
parent243e312286c1dd14cca22e96a9e6882eb95152b0
Allow addblob commands to create output.

Currently all addblob commands remain silent even on fatal errors
because para_client either reads the command output, or sends its
stdin, but never both.

This patch overcomes this shortcoming. It makes para_client create
two buffer trees instead of one. The client states CL_SENT_COMMAND
and CL_RECEIVING are replaced by a single CL_EXECUTING state.

Blob data is now sent as a sideband packet.  The change breaks
compatibility with earlier 0.4.x versions again, but that's OK as
this is 0.5.0 material anyway.
audiod.c
blob.c
client.c
client.h
client_common.c
sideband.h