Skip to content

Commit

Permalink
Return ESP_ERR_HTTP_EAGAIN in http client perform
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFEEDC0DE64 committed Jan 30, 2024
1 parent c1a9e22 commit 15c9cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_http_client/esp_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ esp_err_t esp_http_client_perform(esp_http_client_handle_t client)
}
//} while (client->process_again);
//return ESP_OK;
return client->process_again ? EAGAIN : ESP_OK;
return client->process_again ? ESP_ERR_HTTP_EAGAIN : ESP_OK;
}

int64_t esp_http_client_fetch_headers(esp_http_client_handle_t client)
Expand Down

0 comments on commit 15c9cb9

Please sign in to comment.