extensions fix deflate stream vs mux and veto it on mux children
authorAndy Green <andy@warmcat.com>
Sat, 28 May 2011 09:19:19 +0000 (10:19 +0100)
committerAndy Green <andy@warmcat.com>
Sat, 28 May 2011 09:19:19 +0000 (10:19 +0100)
commit0922650b53bf03101c5d5a5a3fb95f5971affc89
tree90f361dc5d25312d70941e2ea296f0ccb86880e0
parent5555c987283361dec4516d26a65081b3d578f5db
extensions fix deflate stream vs mux and veto it on mux children

This patch gets deflate-stream working with x-google-mux.

It adds a clean veto system where are extension can veto the proposal
of any extension when opening a new connection.  x-google-mux uses that
in its callback to defeat any use of deflate-stream on mux children.

However deflate stream is allowed on the parent connection and works
transparently now alongside x-google-mux.

Signed-off-by: Andy Green <andy@warmcat.com>
README-test-server
lib/extension-x-google-mux.c
lib/libwebsockets.c
lib/libwebsockets.h
lib/parsers.c
lib/private-libwebsockets.h