Always do async vs sync correctly in GSocketConnection streams
authorDan Winship <danw@gnome.org>
Thu, 24 Jun 2010 17:09:14 +0000 (13:09 -0400)
committerDan Winship <danw@gnome.org>
Sun, 15 Aug 2010 19:34:29 +0000 (15:34 -0400)
commit547311bfd8661e25e588e1f434f15c5f2f32c3a7
tree34f1fb1cc859f7ed9ae8cae904cee1a96413764c
parent17fea2f749a407a15a82977b3488530cd5305266
Always do async vs sync correctly in GSocketConnection streams

Previously if a GSocketConnection had a blocking GSocket, it would
sometimes block during asynchonous I/O, and if it had a non-blocking
socket, it would sometimes return G_IO_ERROR_WOULD_BLOCK from
synchronous I/O. This fixes the connection to not depend on the socket
state.

https://bugzilla.gnome.org/show_bug.cgi?id=616458
docs/reference/gio/gio-sections.txt
gio/gio.symbols
gio/gsocket.c
gio/gsocket.h
gio/gsocketinputstream.c
gio/gsocketoutputstream.c