Skip to content

Conversation

@mdkf
Copy link
Contributor

@mdkf mdkf commented Apr 2, 2025

No description provided.

@mdkf mdkf marked this pull request as draft April 2, 2025 18:34
@mdkf mdkf marked this pull request as ready for review April 2, 2025 18:34
@mdkf mdkf changed the base branch from dev to master April 2, 2025 18:35
@mdkf mdkf changed the base branch from master to dev April 2, 2025 18:35
@hwmaier
Copy link

hwmaier commented Apr 2, 2025

Thank you for contributing. I just looked at this commit and it only seems to define a new constant NX_WEB_HTTP_STATUS_CODE_TOO_MANY_REQUESTS. I cannot see any code which uses that constant or provides handling of the "too many requests" case. Is there maybe something missing?

@mdkf
Copy link
Contributor Author

mdkf commented Apr 3, 2025

Thanks for reviewing @hwmaier . Online 1618 of nx_web_http_cleint.c the array I modified on line 83 is searched to see if it contains the code returned by the server. If the code is not found, NX_WEB_HTTP_REQUEST_UNSUCCESSFUL_CODE is returned. If the code is found, it is eventually returned to the client calling _nx_web_http_client_response_body_get.

@mdkf mdkf changed the base branch from dev to master April 3, 2025 16:26
@mdkf mdkf changed the base branch from master to dev April 3, 2025 16:26
@fdesbiens fdesbiens requested a review from a team April 22, 2025 13:55
@fdesbiens fdesbiens added the discussion Flagged for discussion during the weekly team meeting label Apr 22, 2025
@fdesbiens
Copy link
Contributor

@eclipse-threadx/iot-threadx-committers: Can one of you review this PR, please?

@mdkf
Copy link
Contributor Author

mdkf commented Jul 29, 2025

Is this ready to merge?

@fdesbiens fdesbiens merged commit b4ec3ca into eclipse-threadx:dev Sep 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discussion Flagged for discussion during the weekly team meeting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants