Skip to content

Conversation

@morixhub
Copy link
Contributor

@morixhub morixhub commented May 5, 2022

Hello. I just noticed that using avahi (avahicore/avahiclient) TXT records of existing services are not getting updated properly...

I mean: if you have an existing service on the network and then update its TXT records somehow QtZeroConf successfully emits the corresponding serviceUpdated() signal, but the QZeroConfService object passed as parameter still references the previous TXT records (the records before the service update).

It's easy to fix that by simply re-processing TXT records before emitting the signal... the same process is already in place for newly-detected services and so it is enough to move the corresponding code block outside the if (considering the clear the m_txt collection anyway before doing that).

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