Hi Cryil, On Sat, Nov 10, 2012 at 07:24:39PM +0100, Cyril Bonté wrote: > Hi Willy, > while testing gzip compression with haproxy, I noticed that "bytes_read" > in haproxy logs are the values of uncompressed bytes coming from the > server. In this case, it should be the compressed size.
We're aware of this. We wanted an easy way to add this until I realized that the "total" bytes in the channel is set while reading, and documented as bytes being sent :-/ So we need to have two distinct counters, one for bytes read, another one for bytes sent. And this is true also for frontends and backends. So these are plans for deep changes again... Regards, Willy

