Spritetm / libesphttpd

NOTE: THIS CODE IS UNMAINTAINED. Please take a look at https://github.com/chmorgan/libesphttpd instead.
125 stars 109 forks source link

https, SSL #45

Open kriegste opened 7 years ago

kriegste commented 7 years ago

Hi,

as you all might know modern browsers have this "feature" where they "warn" about "unsafe" forms, i.e. when using http instead of https. Even in the local network...

So, has anyone tried to go for SSL? What unforeseen problem did you encounter? My plan would be to use the espconn_secure* functions and the mbedtls lib and see what happens...

kriegste commented 7 years ago

Has anyone experimented with this? It works ok if I make sure only one connection is active at a time. If I hit F5 repeatedly, the web server hangs and it does NOT recover from it. I have to restart. Same this is true for any .htm file that loads other resources (images, scripts, css). Browser will try to load them simultaneously -> web server hangs. There is NO exception or error message apart from the usual

server's data invalid protocol
Reason:[-0x7880]

which is also displays as long as it works ok. Ideas?