esp32_https_server
esp32_https_server copied to clipboard
Allow Setting Content-Length in Request-Handler-Function
For big responses, the keep-alive functionality is disabled as the content length cannot be estimated by the HTTPResponse class when it needs to send the headers. By now, there is no way to pass the content-length from the request handler function to the HTTPResponse, even if it is known in advance. This should be implemented to allow Connection: keep-alive for bigger resources and increase performance.