You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow to call mDNS browse callback more than once (#19554)
* [Tizen] Wait for mDNS on-browse events until timeout
Tizen Native API dos not deliver all-for-now event (such event is
delivered by e.g. Avahi), so it is impossible to tell when the mDNS
browsing shall be considered finished. This commit adds timeout event
which is delivered after 250ms from the last on-browse event. This
allows Tizen platform to discover more than one mDNS service on local
network.
* Allow to call mDNS browse callback more than once
This commit extends mDNS browsing callback to be called once per single
mDNS service or all at once. In case when the callback might be called
again, the internal proxy is not released.
The callback could be called with the error code equal to:
- CHIP_NO_ERROR - no errors; browsing is not done yet
- CHIP_END_OF_INPUT - no errors; end of browsing
- other - browsing error code
* Fix DNS-SD unit test so it can resolve more than one address
* Adopt OpenThread browsing to end-of-browse notification
This will fix double-free error when more than one service was
discovered by the OpenThread mDNS browsing.
0 commit comments