select raw zlib compression
authorAndy Green <andy@warmcat.com>
Tue, 22 Mar 2011 09:06:52 +0000 (09:06 +0000)
committerAndy Green <andy@warmcat.com>
Tue, 22 Mar 2011 09:06:52 +0000 (09:06 +0000)
commit26111bc4c6f9084c3bc8cec70b4434ac10869ef8
tree0351a016b2f81153f9280aa4af1b36280fe2c43c
parent46c2ea0d6fe1ff408470e7c2da0e8bb5a631d0a4
select raw zlib compression

Patrick McManus from Mozilla pointed out that the spec requires a specific kind
of zlib compression, which is raw.  You can select that by using a funny api in
zlib.  Mozilla are correcting their compression to this, pywebsockets already did
it right in the first place, libwebsockets should now work OK with those.

Signed-off-by: Andy Green <andy@warmcat.com>
lib/extension-deflate-stream.c