Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2023 16:54:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262552] net/mosquitto: Mosquitto websockets support not working
Message-ID:  <bug-262552-7788-rbq55AmeEU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262552-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262552-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262552

--- 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 i=
s a
case statement/condition for LWS_CALLBACK_ADD_POLL_FD that calls the functi=
on
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 n=
ever
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262552-7788-rbq55AmeEU>