Page 1 of 1

ESP_HTTP_Server encrypt response

Posted: Tue Mar 12, 2019 7:02 pm
by slompf
Hi,

for my project I need to encrypt the http response. It seems that httpd_sess_set_send_override is supposed to be used for that kind of usecases. But the registered function is called for each part of the response (general headers, headers, data) and it is not clear, when it is called with the last part of the response. Therefor I cannot encrypt the whole response as one message.

Is there a way to encrypt the whole response at once or seeing when the last part of the response is submitted to do so? :?

Best regards