[Spice-devel] [PATCH] Treat EAGAIN similarly to EINTR and try again.
Jeremy White
jwhite at codeweavers.com
Wed May 2 12:24:26 PDT 2012
I had a puzzling bug where I could not establish a connection
with a spice server across an openvpn connection onto a Debian
stable box. It turns out that the network stack in question
apparently is very careful on non blocking sockets, and was
returning EAGAIN on the network ping test transmission.
The channel code appears to be clearly broken; on the EAGAIN,
it should clearly try the write again later, just as it does
on an EINTR return. This patch makes that change.
Cheers,
Jeremy
---
server/red_channel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Treat-EAGAIN-similarly-to-EINTR-and-try-again.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120502/43934171/attachment.bin>
More information about the Spice-devel
mailing list