[Bug 262552] net/mosquitto: Mosquitto websockets support not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Feb 2023 22:36:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262552

--- Comment #11 from Rod Morgan <rmorgan@portmorgan.com> ---
Applied patch to libwebsockets. Cleaned, then rebuilt both libwebsockets and
mosquitto from ports.  Same problem, websockets not working.

Feb 12 15:20:15 blanca mosquitto[96842]: 1676240415: mosquitto version 2.0.15
starting
Feb 12 15:20:15 blanca mosquitto[96842]: 1676240415: Config loaded from
mosquitto.conf.
Feb 12 15:20:15 blanca mosquitto[96842]: 1676240415: Opening ipv4 listen socket
on port 1883.
Feb 12 15:20:15 blanca mosquitto[96842]: 1676240415: Opening ipv4 listen socket
on port 8080.
Feb 12 15:20:15 blanca mosquitto[96842]: 1676240415: mosquitto version 2.0.15
running

The log file should show:
Feb 12 15:20:15 blanca mosquitto[96842]: 1676240723: Opening ipv4 listen socket
on port 1883.
Feb 12 15:20:15 blanca mosquitto[96842]: 1676240723: Opening websockets listen
socket on port 8080.

Watching the build readout I see the following warning (which directly
addresses my issue).

 warning "libwebsockets is not compiled with LWS_WITH_EXTERNAL_POLL support.
Websocket performance will be unusable."

-- 
You are receiving this mail because:
You are the assignee for the bug.