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

Increase LWIP timeouts to avoid MDNS panics #2653

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Increase LWIP timeouts to avoid MDNS panics #2653

merged 1 commit into from
Nov 30, 2024

Conversation

earlephilhower
Copy link
Owner

Bump up the LWIP_ARP setting to increase the LWIP timeout pool to avoid a panic when using SimpleMDNS and TCP clients.

Fixes #2650

Bump up the LWIP_ARP setting to increase the LWIP timeout pool to
avoid a panic when using SimpleMDNS and TCP clients.

Fixes #2650
@earlephilhower
Copy link
Owner Author

@GUVWAF can you give this a try with your real application? I've added 2 add'l LWIP timer slots and rebuilt everything. Should be microscopic RAM impact and hopefully no OOM panics...

@GUVWAF
Copy link
Contributor

GUVWAF commented Nov 30, 2024

Thanks for the fix and the explanation.

Just tried this with the application (Meshtastic, which offers an API over TCP and optionally connects to an MQTT server), and it works fine now.

@earlephilhower earlephilhower merged commit 6024e9a into master Nov 30, 2024
28 checks passed
@earlephilhower earlephilhower deleted the hhh branch November 30, 2024 18:43
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.

SimpleMDNS in combination with WiFiClient leads to panic
2 participants