flush extensions when closing
authorAndy Green <andy@warmcat.com>
Mon, 7 Mar 2011 07:08:18 +0000 (07:08 +0000)
committerAndy Green <andy@warmcat.com>
Mon, 7 Mar 2011 07:08:18 +0000 (07:08 +0000)
commitc44159fb3a76ebc55554f3559c03baa2d8cdc69d
tree7bf025c2d5ce61ff79c4b244c823849f8986787c
parentda527dfdee1e924ac0446260119e7773520a6506
flush extensions when closing

Extensions might be caching stuff that we should spill before a controlled close.
It's not allowed to send anything on the wire after the close request, so we need
to make the extensions spill just before.

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