I initially tried that. Turns out deflate needs to maintain the same 
sliding window across messages depending on whether or not context takeover 
is being used - https://tools.ietf.org/html/rfc7692#section-7

On Saturday, July 16, 2016 at 2:04:59 AM UTC-4, Tamás Gulácsi wrote:
>
> What if you create a new deflater for each message? And use a new Buffer, 
> too! Maybe deflater reads too much into the followings.
> If this works, you can look into why Reset is not enough.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to