ESP_HTTP_Server encrypt response

slompf
Posts: 15
Joined: Tue Mar 12, 2019 6:55 pm

ESP_HTTP_Server encrypt response

Postby slompf » Tue Mar 12, 2019 7:02 pm

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

Who is online

Users browsing this forum: Google [Bot] and 140 guests