I have modified esp-httpd source to use SSL. Http server works well but websocket example disconnects when I change the sending period to 3 seconds(default period is 1 second). If I undo the SSL changes, timeout disappears. I only have this problem when using SSL. So, problem appears to be timeout in SSL connections.
I have added another timer to same SSL websocket connection with the period of 2 seconds and that resolved the problem. But I do not want to use the additional timer
Do you have any idea how to prevent this SSL connection loss/timeout?