lwsws: survive LWS_WITHOUT_EXTENSIONS
This commit is contained in:
parent
a2943ca41d
commit
4ce725903d
1 changed files with 2 additions and 0 deletions
|
@ -58,11 +58,13 @@ static int pids[32];
|
||||||
#define LWSWS_CONFIG_STRING_SIZE (32 * 1024)
|
#define LWSWS_CONFIG_STRING_SIZE (32 * 1024)
|
||||||
|
|
||||||
static const struct lws_extension exts[] = {
|
static const struct lws_extension exts[] = {
|
||||||
|
#if !defined(LWS_NO_EXTENSIONS)
|
||||||
{
|
{
|
||||||
"permessage-deflate",
|
"permessage-deflate",
|
||||||
lws_extension_callback_pm_deflate,
|
lws_extension_callback_pm_deflate,
|
||||||
"permessage-deflate"
|
"permessage-deflate"
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
{ NULL, NULL, NULL /* terminator */ }
|
{ NULL, NULL, NULL /* terminator */ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue