Page 1 of 1

HTTPS Server keep creating new connections

Posted: Mon Aug 30, 2021 3:08 am
by teckhaokoh
I'm having a HTTP server using esp-idf's esp_http_server library and it's working well.
When I enable the same code with the HTTPS server using esp_https_server, I found that it keep creating new connections for the same web page with a lot javascript and css files.
This make my web page load very very slow, as compared to HTTP version.

Is that expected or I may did something wrong with the HTTPS server?

Re: HTTPS Server keep creating new connections

Posted: Mon Aug 30, 2021 3:57 am
by WiFive
Yes ssl handshake is slow

Re: HTTPS Server keep creating new connections

Posted: Tue Aug 31, 2021 4:07 am
by teckhaokoh
Any way of making the HTTPS server reuse the same connection for the requests?