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.