Skip to content

Increase the memory for the lwip stack #7416

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

Closed
wants to merge 1 commit into from

Conversation

jepler
Copy link

@jepler jepler commented Jan 4, 2023

This is a speeculative fix for #7346. The theory is that having some active socket objects uses up the small (4000-byte) pool reserved for lwip and prevents mdns from operating properly. However, as I wasn't able to reproduce the problem with the given script, this is just a guess.

@RetiredWizard testing with artifacts from this PR would be appreciated, if you're able to do so!

This is a speeculative fix for adafruit#7346. The theory is that having some
active socket objects uses up the small (4000-byte) pool reserved for
lwip and prevents mdns from operating properly. However, as I wasn't
able to reproduce the problem with the given script, this is just a
guess.
@RetiredWizard
Copy link

The Pico W still drops off the list of CircuitPython devices when response = requests.get(TEXT_URL) is executed. 😦

@dhalbert
Copy link
Collaborator

@jepler Do you think this is still in the mix, or is #7589 the real fix?

@gneverov
Copy link

#7589 is probably the real fix. It was sort of surprising mdns worked at all without it.

@dhalbert
Copy link
Collaborator

OK, I will close this for now.

@dhalbert dhalbert closed this Feb 17, 2023
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.

4 participants