[Spice-commits] Changes to 'giopipe'
Marc-André Lureau
elmarco at kemper.freedesktop.org
Mon Sep 4 10:20:24 UTC 2017
New branch 'giopipe' available with the following commits:
commit a073ecacde37082f7f948402dda0dac0ff916d01
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Aug 10 18:10:39 2017 +0200
webdav: remove the client if input stream is closed
Instead of printing a warning when trying to read from a closed
stream. It can happen that libsoup closes the pipe output stream while
the input stream had no pending operation, in which case the close is
successful and we shouldn't try to read from the stream anymore.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
commit 35701d818f6e26b102a35f06ba68b2f334ba10fb
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Aug 17 15:20:10 2017 +0200
tests/pipe: add write close/cancel tests
And a few cleanups.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
commit cef1eb8b9a5608069f62a4e319e3b4a655d6fe80
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Aug 17 15:18:32 2017 +0200
giopipe: output wake up on peer close
Similar to input is_readable(), return writable after a close, so an
error is reported to the async write.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
commit 1dd19d52a33e1946bf135b56f8d69d15800bfc14
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Aug 10 18:11:10 2017 +0200
giopipe: input return 0 and no error when peer is already closed
The peer stream may be closed, but may have failed to close self,
because it has pending operations. In this case indicate EOS on read
rather than returning an error. self will be close eventually on
dispose.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
commit 94527a7e207a17e4dbc91690202263e940f18e78
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Aug 10 18:55:28 2017 +0200
test-pipe: /pipe/readcancel is supposed to test cancel
Not to reproduce /pipe/readclose..
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
More information about the Spice-commits
mailing list