Setting windowBits to 15 allocates 32k of memory for the inflation buffer (the largest legal zlib window). The sender may be using a smaller window (and with SPDY, likely is), so this can be a significant waste of memory if there are many connections.
Setting windowBits to 15 allocates 32k of memory for the inflation buffer (the largest legal zlib window). The sender may be using a smaller window (and with SPDY, likely is), so this can be a significant waste of memory if there are many connections.
From
inflateInit2()
: