Skip to content
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

Only add MDNS services if MDNS is enabled (default=true) #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JonNelson
Copy link

@JonNelson JonNelson commented Dec 8, 2024

This change makes MDNS optional if the HTTP or Telnet services are used. The defaults remain as they are today, but if someone (me) doesn't want to use MDNS then they shouldn't have to. Furthermore, I was chasing a crash where I wasn't calling MDNS.begin(...) (only with the HTTP service). This is avoidable entirely if MDNS is not used.

@JonNelson JonNelson changed the title Only add the http service to MDNS if MDNS is enabled Only add MDNS services if MDNS is enabled (default=true) Dec 8, 2024
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