-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow platform DNS-SD resolve to provide more than one IP address in the ResolvedNodeData #15239
Merged
bzbarsky-apple
merged 3 commits into
project-chip:master
from
bzbarsky-apple:multiple-results-for-resolve
Feb 19, 2022
Merged
Allow platform DNS-SD resolve to provide more than one IP address in the ResolvedNodeData #15239
bzbarsky-apple
merged 3 commits into
project-chip:master
from
bzbarsky-apple:multiple-results-for-resolve
Feb 19, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bzbarsky-apple
requested review from
andy31415,
msandstedt,
vivien-apple and
kkasperczyk-no
February 16, 2022 08:16
pullapprove
bot
requested review from
anush-apple,
austinh0,
balducci-apple,
Byungjoo-Lee,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
erjiaqing,
franck-apple,
gjc13,
hawk248,
harsha-rajendran,
isiu-apple,
jelderton,
jepenven-silabs and
jmartinez-silabs
February 16, 2022 08:17
pullapprove
bot
requested review from
wbschiller,
woody-apple,
xylophone21 and
yunhanw-google
February 16, 2022 08:17
PR #15239: Size comparison from d671a52 to 75be11e Full report (22 builds for esp32, linux, mbed, p6, telink)
|
andy31415
reviewed
Feb 16, 2022
andy31415
reviewed
Feb 16, 2022
andy31415
reviewed
Feb 16, 2022
andy31415
reviewed
Feb 16, 2022
andy31415
reviewed
Feb 16, 2022
bzbarsky-apple
force-pushed
the
multiple-results-for-resolve
branch
from
February 16, 2022 20:19
75be11e
to
711d868
Compare
andy31415
approved these changes
Feb 16, 2022
PR #15239: Size comparison from 68f6935 to 711d868 Full report (20 builds for esp32, linux, mbed, p6, telink)
|
bzbarsky-apple
force-pushed
the
multiple-results-for-resolve
branch
from
February 16, 2022 21:38
711d868
to
dffc7ae
Compare
bzbarsky-apple
force-pushed
the
multiple-results-for-resolve
branch
from
February 16, 2022 22:21
dffc7ae
to
e5727dc
Compare
PR #15239: Size comparison from 72896fc to e5727dc Increases (10 builds for cyw30739, efr32, k32w, qpg)
Full report (17 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
|
bzbarsky-apple
force-pushed
the
multiple-results-for-resolve
branch
from
February 16, 2022 23:03
e5727dc
to
d94698c
Compare
PR #15239: Size comparison from 72896fc to d94698c Increases (19 builds for cyw30739, efr32, k32w, nrfconnect, qpg)
Full report (34 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
woody-apple
approved these changes
Feb 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
DnssdResolveCallback
just takes a singleDnssdService *
, which can only provide one IP address.Change overview
Change
DnssdResolveCallback
to take an additionalSpan<IPAddress>
for extra addresses and fix the Darwin impl to handlekDNSServiceFlagsMoreComing
correctly by buffering up the results and delivering them to the callback all together.Testing
Ran
chip-tool discover resolve node-id fabric-id
for all-clusters-app running on localhost and saw that instead of just returning::1
like it used to it now returnsfe80::1
as well.Fixes #13274 as filed I believe. @msandstedt, could you confirm?
We may want followups for the other platform impls (avahi, openthread, Android, Tizen) to fix things as well, now that the API supports it.