Skip to content

Commit

Permalink
explicitly set windowBits to its default size (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
anandsuresh authored Mar 29, 2018
1 parent 8fff849 commit 65561f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/spdy-transport/protocol/spdy/zlib-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function createDeflate (version, compression) {
function createInflate (version) {
var inflate = zlib.createInflate({
dictionary: transport.protocol.spdy.dictionary[version],
flush: zlib.Z_SYNC_FLUSH
flush: zlib.Z_SYNC_FLUSH,
windowBits: 15
})

// For node.js v0.8
Expand Down

0 comments on commit 65561f9

Please sign in to comment.