-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(https): Get TLS errors from http client (IDFGH-14265) #15059
Conversation
👋 Hello KonssnoK, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
575b1f6
to
7373878
Compare
sha=737387885458924c23fddd541d784d721ad4043e |
7373878
to
5642a72
Compare
sha=5642a728bb30d0a989eefeab067c1df89574bc04 |
* @brief Get HTTPS client TLS last error | ||
* | ||
* @param[in] client The esp_http_client handle | ||
* @param[out] esp_tls_error_code optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the meaning for these arguments by referring other API above. It should not be optional.
5642a72
to
7dcbf43
Compare
done |
* This pointer could be NULL if caller does not care about esp_tls_code | ||
* | ||
* @return | ||
* - ESP_FAIL if invalid parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* - ESP_FAIL if invalid parameters | |
* - ESP_ERR_INVALID_STATE if invalid parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmm it actually returns ESP_FAIL.. is ESP_ERR_INVALID_STATE a mask for that?
Hello @KonssnoK , There are a few review comments, but LGTM! |
Hello @KonssnoK , Please keep a single commit for all changes. |
update PR update mr Update components/esp_http_client/esp_http_client.c Co-authored-by: Nilesh Kale <[email protected]>
c485cfe
to
dca099d
Compare
sha=dca099d15b5322f1605dc0572c586a71ef74cd1c |
Thanks for contribution again, changes have been merged with bc63628. |
Description
Expose TLS errors from HTTPS client