qemu-e2k/io
Daniel P. Berrange bead59946a io: fix setting of QIO_CHANNEL_FEATURE_FD_PASS on server connections
The QIO_CHANNEL_FEATURE_FD_PASS feature flag is set in the
qio_channel_socket_set_fd() method, however, this only deals
with client side connections.

To ensure server side connections also have the feature flag
set, we must set it in qio_channel_socket_accept() too. This
also highlighted a typo fix where the code updated the
sockaddr struct in the wrong object instance.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2015-12-22 18:19:32 +00:00
..
channel-buffer.c io: add QIOChannelBuffer class 2015-12-18 12:18:31 +00:00
channel-command.c io: add QIOChannelCommand class 2015-12-18 12:18:31 +00:00
channel-file.c io: add QIOChannelFile class 2015-12-18 12:18:31 +00:00
channel-socket.c io: fix setting of QIO_CHANNEL_FEATURE_FD_PASS on server connections 2015-12-22 18:19:32 +00:00
channel-tls.c io: add QIOChannelTLS class 2015-12-18 12:18:31 +00:00
channel-watch.c
channel-websock.c io: add QIOChannelWebsock class 2015-12-18 12:18:31 +00:00
channel.c
Makefile.objs io: add QIOChannelBuffer class 2015-12-18 12:18:31 +00:00
task.c io: add QIOTask class for async operations 2015-12-18 12:18:30 +00:00