[Bug 262552] net/mosquitto: Mosquitto websockets support not working
Date: Tue, 14 Feb 2023 16:54:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262552 --- Comment #20 from Rod Morgan <rmorgan@portmorgan.com> --- Since mosquitto has limited debug information, I used log_printf statements hoping to find where the websocket was initialized. In websockets.c there is a case statement/condition for LWS_CALLBACK_ADD_POLL_FD that calls the function to add websocket listeners. I cannot find anywhere else in the code or Makefile where it is referenced. I'm reasonably certain that if the case condition is never defined, then the code within that case condition will never be executed. I have no experience using Makefile (much less patching it). I'm thinking LWS_CALLBACK_ADD_POLL_FD needs to be defined somewhere to enable the case option to be triggered. -- You are receiving this mail because: You are the assignee for the bug.