summaryrefslogtreecommitdiff
path: root/lib/private-libwebsockets.h
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-05-28 10:19:19 +0100
committerAndy Green <andy@warmcat.com>2011-05-28 10:19:19 +0100
commit0922650b53bf03101c5d5a5a3fb95f5971affc89 (patch)
tree90f361dc5d25312d70941e2ea296f0ccb86880e0 /lib/private-libwebsockets.h
parent5555c987283361dec4516d26a65081b3d578f5db (diff)
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>
Diffstat (limited to 'lib/private-libwebsockets.h')
-rw-r--r--lib/private-libwebsockets.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h
index bf2865d..e706bf5 100644
--- a/lib/private-libwebsockets.h
+++ b/lib/private-libwebsockets.h
@@ -415,6 +415,10 @@ lws_client_interpret_server_handshake(struct libwebsocket_context *context,
extern int
libwebsocket_rx_sm(struct libwebsocket *wsi, unsigned char c);
+extern int
+lws_issue_raw_ext_access(struct libwebsocket *wsi,
+ unsigned char *buf, size_t len);
+
#ifndef LWS_OPENSSL_SUPPORT
unsigned char *