Re: [Spice-devel] [PATCH spice-server 3/4] Do not set TCP_NODELAY flag twice

2017-02-14 Thread Frediano Ziglio
> > On Mon, Feb 13, 2017 at 11:03:18AM +, Frediano Ziglio wrote: > > TCP_NODELAY flag is set by default for all connection inside > > reds.c so there's no need to set again for the single > > client channel. > > > > Note that there are still some call to setsockopt to set this > > option but

Re: [Spice-devel] [PATCH spice-server 3/4] Do not set TCP_NODELAY flag twice

2017-02-14 Thread Christophe Fergeau
On Mon, Feb 13, 2017 at 11:03:18AM +, Frediano Ziglio wrote: > TCP_NODELAY flag is set by default for all connection inside > reds.c so there's no need to set again for the single > client channel. > > Note that there are still some call to setsockopt to set this > option but in this case the

[Spice-devel] [PATCH spice-server 3/4] Do not set TCP_NODELAY flag twice

2017-02-13 Thread Frediano Ziglio
TCP_NODELAY flag is set by default for all connection inside reds.c so there's no need to set again for the single client channel. Note that there are still some call to setsockopt to set this option but in this case the flag can reset the flag. Signed-off-by: Frediano Ziglio --- server/inputs-