https implementation, performing session handshake

mrdebug
Posts: 43
Joined: Sat Jul 27, 2019 8:26 am

https implementation, performing session handshake

Postby mrdebug » Mon Nov 15, 2021 4:06 pm

Hi, I have implemented a web area based on https. Surfing between pages causes the output "performing session handshake". What it means? Is the socket the same or, changing the page, the socket will be close ad reopened?
This is my code:

Code: Select all

	httpd_ssl_config_t configSSL= HTTPD_SSL_CONFIG_DEFAULT();
	configSSL.httpd.max_uri_handlers= 64;
	configSSL.httpd.max_open_sockets= 2;
    extern const unsigned char sslcacert_pem_start[] asm("_binary_sslcacert_pem_start");
    extern const unsigned char sslcacert_pem_end[] asm("_binary_sslcacert_pem_end");
    configSSL.cacert_pem= sslcacert_pem_start;
    configSSL.cacert_len= sslcacert_pem_end- sslcacert_pem_start;
    extern const unsigned char sslrsaprivate_pem_start[] asm("_binary_sslrsaprivate_pem_start");
    extern const unsigned char sslrsaprivate_pem_end[] asm("_binary_sslrsaprivate_pem_end");
    configSSL.prvtkey_pem= sslrsaprivate_pem_start;
    configSSL.prvtkey_len= sslrsaprivate_pem_end- sslrsaprivate_pem_start;
	printf("WebServer: starting\n");
	if (httpd_ssl_start(&WebsHandle, &configSSL)!= ESP_OK) {
		printf("SSL webServer: failed to start!\n");
		return ESP_FAIL;
	} else {...


Who is online

Users browsing this forum: No registered users and 65 guests