;
This commit is contained in:
parent
5d96c3d7ba
commit
63416e6547
@ -604,7 +604,7 @@ struct libwebsocket_context *mosq_websockets_init(struct _mqtt3_listener *listen
|
|||||||
info.options |= LWS_SERVER_OPTION_DISABLE_IPV6;
|
info.options |= LWS_SERVER_OPTION_DISABLE_IPV6;
|
||||||
#endif
|
#endif
|
||||||
#if LWS_LIBRARY_VERSION_MAJOR>1
|
#if LWS_LIBRARY_VERSION_MAJOR>1
|
||||||
info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT
|
info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
user = _mosquitto_calloc(1, sizeof(struct libws_mqtt_hack));
|
user = _mosquitto_calloc(1, sizeof(struct libws_mqtt_hack));
|
||||||
|
Loading…
Reference in New Issue
Block a user