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

New hk 512b #148

Merged
merged 2 commits into from
Apr 4, 2024
Merged

New hk 512b #148

merged 2 commits into from
Apr 4, 2024

Conversation

jgstroud
Copy link
Collaborator

@jgstroud jgstroud commented Apr 4, 2024

Pull in new HK library that saves 512B of RAM

bounjour-hap sometimes sends massive fragmented mdns packets
Change to the no-feature version of LwIP to  disable all fragmenting
and reassembly of packets.

If the TCP client suddenly goes away, LwIP will continue to send TCP
retries for about 30 minutes. This can consume up to about 4k of heap.
Use a custom lwip library that sets max tcp retries to 2, which will
quickly close the connection and free up memory in this scenerio.
@jgstroud jgstroud merged commit 9c090c6 into ratgdo:main Apr 4, 2024
@jgstroud jgstroud deleted the new_hk_512b branch May 1, 2024 20:45
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.

None yet

1 participant