Skip to content

resolve: several follow-ups for resolving service via varlink - #31372

Merged
poettering merged 1 commit into
systemd:mainfrom
yuwata:resolve-service-follow-ups
Feb 19, 2024
Merged

poettering merged 1 commit into
systemd:mainfrom
yuwata:resolve-service-follow-ups

Conversation

@yuwata

@yuwata yuwata commented Feb 17, 2024 •

Copy link
Copy Markdown
Member

Follow-ups for e1634bb (#23750).

  • Allow to call the method without "name" and "type".
  • Allow to specify SD_RESOLVE_NO_TXT and SD_RESOLVE_NO_ADDRESS.
  • Allow to provide multiple services, and fix memory leak.
  • Rearrange the return value format.
  • Encode TXT field with octescape() to make the field matches with the io.systemd.Resolve.Monitor interface.

Fixes #31371.

@yuwata yuwata added resolve please-review PR is ready for (re-)review by a maintainer labels Feb 17, 2024
@yuwata yuwata added this to the v256 milestone Feb 17, 2024
@yuwata

yuwata commented Feb 17, 2024

Copy link
Copy Markdown
Member Author

cc @evverx

@yuwata
yuwata force-pushed the resolve-service-follow-ups branch from 15a7254 to 54f8f58 Compare February 17, 2024 22:13
Follow-ups for e1634bb.

- Allow to call the method without "name" and "type".
- Allow to specify SD_RESOLVE_NO_TXT and SD_RESOLVE_NO_ADDRESS.
- Allow to provide multiple services, and fix memory leak.
- Rearrange the return value format.
- Encode TXT field with octescape() to make the field matches with the
  io.systemd.Resolve.Monitor interface.

Fixes systemd#31371.
@yuwata
yuwata force-pushed the resolve-service-follow-ups branch from 54f8f58 to 8e79d25 Compare February 18, 2024 01:06
@evverx

evverx commented Feb 19, 2024

Copy link
Copy Markdown
Contributor

Thanks! I'll try to take a look a bit later. Let's cc @vchillara too.

@poettering poettering added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed please-review PR is ready for (re-)review by a maintainer labels Feb 19, 2024
@poettering
poettering merged commit c6c7c46 into systemd:main Feb 19, 2024
@github-actions github-actions Bot removed the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Feb 19, 2024
@yuwata
yuwata deleted the resolve-service-follow-ups branch February 19, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

resolved: there is a memory leak caused by replies with more than one SRV RR when services are resolved via varlink

3 participants