Re: [Spice-devel] [PATCH spice-gtk 3/6] giopipe: return 0 and no error when peer is already closed

2017-08-11 Thread Frediano Ziglio
> > From: Marc-André Lureau > > The peer stream may be closed, but may have failed to close self, > because it has pending operations. In this case indicate EOS on IO > rather than returning an error. self will be close eventually on > dispose. > > Signed-off-by:

[Spice-devel] [PATCH spice-gtk 3/6] giopipe: return 0 and no error when peer is already closed

2017-08-10 Thread marcandre . lureau
From: Marc-André Lureau The peer stream may be closed, but may have failed to close self, because it has pending operations. In this case indicate EOS on IO rather than returning an error. self will be close eventually on dispose. Signed-off-by: Marc-André Lureau