esp32_https_server icon indicating copy to clipboard operation
esp32_https_server copied to clipboard

Allow Setting Content-Length in Request-Handler-Function

Open fhessel opened this issue 7 years ago • 0 comments

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.

fhessel avatar Aug 24 '18 08:08 fhessel