Files
sahbot 4758bef50c mosquitto: Support asynchronous connection handling in bridge__connect() for musl
Problem: When using musl instead of glibc, Mosquitto's bridge__connect() calls net__socket_connect(), which, with the SAH patch (asynchronous connect), can return MOSQ_ERR_CONN_INPROGRESS if the socket connection is still in progress. This was not properly handled, causing bridge connections to fail on musl.

Solution: Extend the SAH patch to handle MOSQ_ERR_CONN_INPROGRESS in bridge__connect(), ensuring proper bridge functionality for musl.

Issue: PCF-1656 [lib_mosquitto] - Bridge functionality does not work for musl (only glibc)
Signed-off-by: Sarra Kacem <sarra.kacem_ext@softathome.com>
2025-02-26 09:49:06 +01:00
..