Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

hostByName timeout fixes #8787

Merged
merged 10 commits into from
Jan 5, 2023
Merged

hostByName timeout fixes #8787

merged 10 commits into from
Jan 5, 2023

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Jan 4, 2023

Make a single hostByNameImpl() instead of two implementations
Do not share 'pending' flag between requests, allocate memory per invocation
Translate error message (no string in non-debug lwip) and add TIMEOUT when we exit esp_delay on timeout
Clean-up DNS type case switch and enum, it is already strong enough (and cast is undefined behaviour)

as noticed in #8780

@d-a-v d-a-v merged commit f06710e into esp8266:master Jan 5, 2023
@mcspr mcspr deleted the hostname-to branch January 5, 2023 13:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants