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()
Fix for https://github.com/tayfunulu/WiFiManager/issues/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()