mirror of
https://gitlab.com/prpl-foundation/prplos/feeds/feed_opensource.git
synced 2025-12-20 01:20:39 +08:00
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>