BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/mqtt_broker.cpp mqtt_broker.h
De:       Deuc¨
Data:     Sat, 9 May 2026 22:50:36 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]