https://gitlab.synchro.net/main/sbbs/-/commit/7372b198cc5347a0cade1ae7
Modified Files:
src/sbbs3/mqtt_broker.cpp mqtt_broker.h
Log Message:
mqtt: split into accept/broker threads, flush from caller, poll/select
Accept thread handles blocking TLS handshakes. Broker thread uses
poll() (PREFER_POLL) or select() for network session I/O with 1s
timeout. local_publish and publish_sys flush network send buffers
directly in the calling thread, eliminating delivery latency for local-to-network message routing. Thread names set via SetThreadName.
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net