Re: [Spice-devel] [PATCH spice-server v2] reds: Send link replies with less chunks

2017-03-07 Thread Frediano Ziglio
> > On Mon, Mar 06, 2017 at 05:09:05PM +, Frediano Ziglio wrote: > > Send header and reply together. > > This potentially save up to 160 bytes on the network. > > Could you expand on how these bytes are saved ? Or is it better that > everyone reading this log spends time investigating this th

Re: [Spice-devel] [PATCH spice-server v2] reds: Send link replies with less chunks

2017-03-07 Thread Christophe Fergeau
On Mon, Mar 06, 2017 at 05:09:05PM +, Frediano Ziglio wrote: > Send header and reply together. > This potentially save up to 160 bytes on the network. Could you expand on how these bytes are saved ? Or is it better that everyone reading this log spends time investigating this themselves ? :)

[Spice-devel] [PATCH spice-server v2] reds: Send link replies with less chunks

2017-03-06 Thread Frediano Ziglio
Send header and reply together. This potentially save up to 160 bytes on the network. Signed-off-by: Frediano Ziglio --- server/reds.c | 58 +++--- 1 file changed, 31 insertions(+), 27 deletions(-) Changes since v1: - added some comment; - che