Return ESP_ERR_HTTP_EAGAIN in http client perform

This commit is contained in:
2024-01-30 15:41:31 +01:00
parent 55092b1409
commit 6846f9846c
+1 -1
View File
@@ -1564,7 +1564,7 @@ esp_err_t esp_http_client_perform(esp_http_client_handle_t client)
}
//} while (client->process_again && err == ESP_OK);
if (client->process_again && err == ESP_OK)
return EAGAIN;
return ESP_ERR_HTTP_EAGAIN;
return err;
}