mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00

Unfortunately this code is beginning to rot due to lack of demand to provide it and it being disabled by default. If demand appears we can revert this and resume work on it, otherwise let's bite the bullet for the moment. Signed-off-by: Andy Green <andy.green@linaro.org>
28 lines
611 B
C
28 lines
611 B
C
#include "private-libwebsockets.h"
|
|
|
|
#include "extension-deflate-frame.h"
|
|
#include "extension-deflate-stream.h"
|
|
|
|
struct libwebsocket_extension libwebsocket_internal_extensions[] = {
|
|
#ifdef LWS_EXT_DEFLATE_STREAM
|
|
{
|
|
"deflate-stream",
|
|
lws_extension_callback_deflate_stream,
|
|
sizeof (struct lws_ext_deflate_stream_conn)
|
|
},
|
|
#else
|
|
{
|
|
"x-webkit-deflate-frame",
|
|
lws_extension_callback_deflate_frame,
|
|
sizeof (struct lws_ext_deflate_frame_conn)
|
|
},
|
|
{
|
|
"deflate-frame",
|
|
lws_extension_callback_deflate_frame,
|
|
sizeof (struct lws_ext_deflate_frame_conn)
|
|
},
|
|
#endif
|
|
{ /* terminator */
|
|
NULL, NULL, 0
|
|
}
|
|
};
|