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

lwsws: survive LWS_WITHOUT_EXTENSIONS

This commit is contained in:
Andy Green 2017-08-26 12:18:47 +08:00
parent a2943ca41d
commit 4ce725903d

View file

@ -58,11 +58,13 @@ static int pids[32];
#define LWSWS_CONFIG_STRING_SIZE (32 * 1024)
static const struct lws_extension exts[] = {
#if !defined(LWS_NO_EXTENSIONS)
{
"permessage-deflate",
lws_extension_callback_pm_deflate,
"permessage-deflate"
},
#endif
{ NULL, NULL, NULL /* terminator */ }
};