Disable ipv6 websockets.

pull/211/merge
Roger A. Light 11 years ago
parent 2bf7a8fb13
commit 91fa1c9625

@ -511,6 +511,8 @@ struct libwebsocket_context *mosq_websockets_init(struct _mqtt3_listener *listen
info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT;
}
#endif
info.options |= LWS_SERVER_OPTION_DISABLE_IPV6;
user = _mosquitto_calloc(1, sizeof(struct libws_mqtt_hack));
if(!user){
_mosquitto_free(p);

Loading…
Cancel
Save