WebSockets: update some comments in source

Based on feedback from libwebsockets author
https://github.com/warmcat/libwebsockets/issues/2322#issuecomment-860572124
This commit is contained in:
Luciano Iam
2021-06-14 12:25:27 +02:00
parent cef81b8c23
commit 6cc59ad8e6

View File

@@ -140,12 +140,12 @@ WebsocketsServer::start ()
#endif
if (_lws_context) {
/* LWS_WITH_GLIB was enabled for Ardour build environment libwebsockets
and also for the version the user has installed in their system */
/* Keep in mind _lws_context can be != 0 even when the user's
libwebsockets does not support LWS_SERVER_OPTION_GLIB !
This is by libwebsockets design */
PBD::info << "ArdourWebsockets: using event loop integration method 1" << endmsg;
} else {
/* Either Ardour build environment libwebsockets was not configured with
LWS_WITH_GLIB enabled or user installed library is missing the feature */
/* More compatible approach */
_fd_callbacks = true;
_lws_info.foreign_loops = 0;
_lws_info.options = 0;