Tag
- Commit:
fcb5ee1b57307679caae901031c6fe8a6316f3b4(tags/5.1.0)- Tagger:
- Tracey Emery <tracey@openbsd.org>
- Date:
- Message:
- thingsd: run a single sockets process Drop the prefork pool of sockets processes. thingsd serves a handful of clients, every thing packet was broadcast to all N processes, and the duplicate client name and max clients checks in parse.y only ever saw one process, as the XXX comment there admitted. With one sockets process those checks are global, control no longer counts replies from N processes, and the pipe arrays in main() go away. "prefork" in thingsd.conf is still parsed and logs a deprecation warning. The listener descriptor is handed to the sockets process instead of dup'd, so the parent stops holding a copy of every listener. This should help prepare mqttd changes.
5.1.0
