Hi,
I have implemented an HTTPS PUT method, which will upload data up to 100k to aws-s3 using the esp_http_client.
I am using the same http client for multiple uploads. But every upload a new TLS/SSL connection is established, which needs a lot of time.
Is there a way to tell the http client to reuse the TLS/SSL connection like the resumption of TLS connection? Or a way to tell the http client which TLS/SSL session it should use?
Or is that not possible with the esp_http_client libraries and I must use the TLS/SSL libraries to implement that function?
Best
Jonathan
HTTPS PUT with resumption of TLS connection
-
- Posts: 45
- Joined: Tue Dec 07, 2021 4:04 pm
-
- Posts: 190
- Joined: Wed Jan 24, 2018 6:51 am
Re: HTTPS PUT with resumption of TLS connection
Hi Jonathan,
Please have a look at the client session ticket feature in the https_request example here: https://github.com/espressif/esp-idf/bl ... ojbuild#L3
Client session ticket is based on RFC5077 and should help for faster resumption of the TLS session.
Thanks.
Please have a look at the client session ticket feature in the https_request example here: https://github.com/espressif/esp-idf/bl ... ojbuild#L3
Client session ticket is based on RFC5077 and should help for faster resumption of the TLS session.
Thanks.
Mahavir
https://github.com/mahavirj/
https://github.com/mahavirj/
Who is online
Users browsing this forum: rsimpsonbusa and 72 guests