[Spice-devel] [spice-gtk PATCH v1 1/3] giopipe: don't fail on create_source

Victor Toso victortoso at redhat.com
Mon May 18 04:50:13 PDT 2015


On Mon, May 18, 2015 at 01:43:40PM +0200, Marc-André Lureau wrote:
> That may well be because you can't use that function with the pipe. It's
> not a straightforward and robust GIOStream, it only implements the
> functions that are tested in tests/pipe.c. Anything else might break
> spectacularly due to the coroutine dance and the hacks there to avoid extra
> memcpy...

Indeed but as it is we are losing data because client's webdav can
request lower data then the MUX_MAX_SIZE. This is not an error with
g_output_stream_write and I'm not sure if we can try to force a
MUX_MAX_SIZE read from client's webdav.

I've tryed to only use g_output_stream_write and it breaks as well but
besides this bug [0] I did not find any other issue with this series.

[0] https://bugs.freedesktop.org/show_bug.cgi?id=90503


More information about the Spice-devel mailing list