[Spice-devel] [spice-server v2 0/6] Move setsockopt-related code to helpers

Christophe Fergeau cfergeau at redhat.com
Fri Mar 10 08:59:36 UTC 2017


Hey,

This is another attempt at moving the low-level socket code setting
keepalive/non-blocking/no-delay to helper functions. Rather than doing
it directly in RedsStream, there are now some lower level helpers
taking a 'int fd' parameter.

reds_stream_set_no_delay was kept though (but calls into a helper) as one
of my goals with this series is to hide the RedsStream::socket from code
outside of reds-stream.c

I'm not fully happy with the end result, so this probably can be refined some
more ;)

Christophe




More information about the Spice-devel mailing list