Don't disable IPv6 support for websockets.

pull/501/head
Roger A. Light 8 years ago
parent 59f11aa094
commit ba0122f9a9

@ -38,6 +38,7 @@ Broker:
broker. broker.
- When using the include_dir configuration option sort the files - When using the include_dir configuration option sort the files
alphabetically before loading them. Closes #17. alphabetically before loading them. Closes #17.
- IPv6 is no longer disabled for websockets listeners.
Client library: Client library:
- Outgoing messages with QoS>1 are no longer retried after a timeout period. - Outgoing messages with QoS>1 are no longer retried after a timeout period.

@ -621,7 +621,7 @@ struct libwebsocket_context *mosq_websockets_init(struct mosquitto__listener *li
info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT; info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT;
} }
#endif #endif
info.options |= LWS_SERVER_OPTION_DISABLE_IPV6;
#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

Loading…
Cancel
Save