Control: tags -1 +moreinfo

On Tue, Feb 9, 2021 at 9:54 PM Roger Light <ro...@atchoo.org> wrote:
> The external poll feature has been part of libwebsockets since the
> beginning, and that's what Mosquitto uses. Relatively recently the
> developer decided he didn't like that anymore and is going to remove
> it, but has disabled it for now.
 "Relative recently"? Andy Green switched off that 20 (yes, twenty!)
months ago [1].
It was always a hack, few people used it and generated way too many messages.

> I've asked about it and was told that he didn't want to support it any
> more and that everybody using the external poll feature should rewrite
> their code.
 Indeed, Andy provides at least two options for that: libev (full
featured and high-performance event loop) and libuv (which is an
asynchronous library, also used for Node.js). Meaning both are common
and tested.

> I'm rewriting to use a different library so I don't have to deal with
> that kind of breakage again,  but in the meantime I don't want my
> users to suffer - without this change the websockets feature is
> unusable.
 But as I know, websockets is a second class citizen in mosquitto [2].
My question is what functional difference will be in mosquitto without
the websocket external poll support? I'm not sure it will not hit
other websocket users.
You had two years (maybe more) to switch to a better alternative of
the hacky external poll support but only now realize your code is not
complete without it. :(

Regards,
Laszlo/GCS
[1] 
https://libwebsockets.org/git/libwebsockets/commit/CMakeLists.txt?id=d3021980194991d175388115a65a4265bd155f36
[2] https://sources.debian.org/src/mosquitto/2.0.7-3/src/loop.c/?hl=257#L257

Reply via email to