Re: [go-nuts] Modifying zlib window

2016-07-19 Thread A Keeton
Looks like this issue has been dead for quite some time. I'd like to resurrect it :) Any chance configurable window sizes for flate might be on the horizon? On Tuesday, February 10, 2015 at 7:24:25 PM UTC-5, Rob Napier wrote: > > Looks like one was already open: https://github.com/golang/go/issu

Re: [go-nuts] Streaming deflate - can't reliably read chunks as they arrive instead of the entire stream

2016-07-18 Thread A Keeton
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 crea

[go-nuts] Streaming deflate - can't reliably read chunks as they arrive instead of the entire stream

2016-07-13 Thread A Keeton
I'm trying to decompress messages arriving over websockets that are using permessage-deflate. I've run into a couple of issues using flate. Assume: buf := new(bytes.Buffer) flater := flate.NewReader(buf) Each new websockets message is written into buf and then I call Read on flater. It wo