mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_https_ota: Fix counters for sending POST body
Closes: https://github.com/espressif/esp-idf/issues/6844
This commit is contained in:
parent
80723de12d
commit
b8b104a8f0
@ -123,9 +123,9 @@ static esp_err_t _http_connect(esp_http_client_handle_t http_client)
|
||||
ESP_LOGE(TAG, "Write failed");
|
||||
return ESP_FAIL;
|
||||
}
|
||||
post_len -= write_len;
|
||||
post_data += write_len;
|
||||
}
|
||||
post_len -= write_len;
|
||||
post_data += write_len;
|
||||
}
|
||||
header_ret = esp_http_client_fetch_headers(http_client);
|
||||
if (header_ret < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user