mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
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
This commit is contained in:
@@ -1271,9 +1271,11 @@ g_socket_new_from_fd
|
||||
g_socket_receive
|
||||
g_socket_receive_from
|
||||
g_socket_receive_message
|
||||
g_socket_receive_with_blocking
|
||||
g_socket_send
|
||||
g_socket_send_message
|
||||
g_socket_send_to
|
||||
g_socket_send_with_blocking
|
||||
g_socket_set_blocking
|
||||
g_socket_set_timeout
|
||||
g_socket_set_keepalive
|
||||
|
Reference in New Issue
Block a user