-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedWe'd welcome help on this issueWe'd welcome help on this issuehigh-priorityIssues that affect core functionality or are "show stoppers"Issues that affect core functionality or are "show stoppers"triagedReviewed by the team, has enough information and ready to work on now.Reviewed by the team, has enough information and ready to work on now.
Description
Platform
ESP32, Cross-Platform, Linux Native
Description
The firmware allows multiple connections to its TCP socket, but the sockets are not partitioned with their own state. This causes connections from multiple devices to fight over the connection.
Two enhancements to mitigate this:
- Gracefully stop advertising the node over mDNS when a TCP client connects. Ideally sending the proper goodbye packets (https://datatracker.ietf.org/doc/html/rfc6762#section-10.1). mDNS should begin advertising again when the connected TCP client disconnects.
- If possible, the TCP listener should stop listening when there is an active connection and start listening again when the connection disconnects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedWe'd welcome help on this issueWe'd welcome help on this issuehigh-priorityIssues that affect core functionality or are "show stoppers"Issues that affect core functionality or are "show stoppers"triagedReviewed by the team, has enough information and ready to work on now.Reviewed by the team, has enough information and ready to work on now.