Compare commits

...

3 Commits

Author SHA1 Message Date
Mahavir Jain
e72de12566 Merge branch 'feature/upgrade_nghttp2_component_v3.3' into 'release/v3.3'
nghttp2: upgrade to v1.41.0 release (v3.3)

See merge request espressif/esp-idf!15346
2021-10-05 05:40:18 +00:00
Vikram Dattu
03fc607492 Fixed broken http2_request example.
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.

Specified this value to be 10 sec. (10 * 1000 ms).

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-29 09:48:47 +05:30
Mahavir Jain
c6106b5ac0 nghttp2: upgrade to v1.41.0 release
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0

Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2021-09-24 17:48:25 +05:30
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3bcc416e13cc790e2fb45fcfe9111d38609c5032
Subproject commit 8f7b008b158e12de0e58247afd170f127dbb6456

View File

@ -242,7 +242,8 @@ int sh2lib_connect(struct sh2lib_handle *hd, const char *uri)
esp_tls_cfg_t tls_cfg = {
.alpn_protos = proto,
.non_block = true,
};
.timeout_ms = 10 * 1000,
};
if ((hd->http2_tls = esp_tls_conn_http_new(uri, &tls_cfg)) == NULL) {
ESP_LOGE(TAG, "[sh2-connect] esp-tls connection failed");
goto error;