mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
Compare commits
3 Commits
b95e11939d
...
e72de12566
Author | SHA1 | Date | |
---|---|---|---|
|
e72de12566 | ||
|
03fc607492 | ||
|
c6106b5ac0 |
@ -1 +1 @@
|
|||||||
Subproject commit 3bcc416e13cc790e2fb45fcfe9111d38609c5032
|
Subproject commit 8f7b008b158e12de0e58247afd170f127dbb6456
|
@ -242,7 +242,8 @@ int sh2lib_connect(struct sh2lib_handle *hd, const char *uri)
|
|||||||
esp_tls_cfg_t tls_cfg = {
|
esp_tls_cfg_t tls_cfg = {
|
||||||
.alpn_protos = proto,
|
.alpn_protos = proto,
|
||||||
.non_block = true,
|
.non_block = true,
|
||||||
};
|
.timeout_ms = 10 * 1000,
|
||||||
|
};
|
||||||
if ((hd->http2_tls = esp_tls_conn_http_new(uri, &tls_cfg)) == NULL) {
|
if ((hd->http2_tls = esp_tls_conn_http_new(uri, &tls_cfg)) == NULL) {
|
||||||
ESP_LOGE(TAG, "[sh2-connect] esp-tls connection failed");
|
ESP_LOGE(TAG, "[sh2-connect] esp-tls connection failed");
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user