Skip to content

fix: keep KNX-IP datalink in sync with link/IP + plug friendlyName leak#31

Open
GeminiServer wants to merge 1 commit into
v1from
ec/v1-friendlyNameLeak-got_ip-rebind
Open

fix: keep KNX-IP datalink in sync with link/IP + plug friendlyName leak#31
GeminiServer wants to merge 1 commit into
v1from
ec/v1-friendlyNameLeak-got_ip-rebind

Conversation

@GeminiServer

Copy link
Copy Markdown
Member
  • GOT_IP: rebind multicast only on real IP change (no heap churn on lease renew); handle LOST_IP -> drop datalink.
  • checkLinkStatus: reconcile controlKnxIp(established()) each tick -> recovers a link flap where GOT_IP never re-fires (datalink stuck off).
  • loadSettings: delete[] the friendlyNameRead buffer propertyValueRead() new[]'d.

- GOT_IP: rebind multicast only on real IP change (no heap churn on lease renew); handle LOST_IP -> drop datalink.
- checkLinkStatus: reconcile controlKnxIp(established()) each tick -> recovers a link flap where GOT_IP never re-fires (datalink stuck off).
- loadSettings: delete[] the friendlyNameRead buffer propertyValueRead() new[]'d.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant