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

fix for #5 out of memory on esp8266 #7

Merged
merged 1 commit into from
May 25, 2018
Merged

Conversation

trailhead
Copy link

Fix for #5

Modified handle_root to send the response incrementally with as little memory required as possible. I was able to connect with 12 SSIDs in the list. At some point this will break with more SSIDs, but it's a start.

According to some research you don't need to send Content-Length if you call client.close() when finished. So I made that optional in send_header()

Copy link
Owner

@tayfunulu tayfunulu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested

@tayfunulu
Copy link
Owner

i applied. thanks.

@tayfunulu tayfunulu merged commit a1f955b into tayfunulu:master May 25, 2018
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.

2 participants