fix(externalIpProvider/plain): when reading response body #54

Merged
t.behrendt merged 1 commits from fix-issue-reading-response-body into main 2025-11-07 17:14:15 +01:00
Owner

Fixing an error where the service crashes reading the response body, when no content-length header was provided in the response.

Fixing an error where the service crashes reading the response body, when no content-length header was provided in the response.
t.behrendt added 1 commit 2025-11-07 17:08:34 +01:00
fix(externalIpProvider/plain): when reading response body
All checks were successful
CI / test (pull_request) Successful in 45s
90d92ef684
t.behrendt requested review from branch-buddy 2025-11-07 17:11:17 +01:00
branch-buddy approved these changes 2025-11-07 17:12:58 +01:00
branch-buddy left a comment
Collaborator

The changes address the issue of handling response bodies without content-length headers by using io.ReadAll, which properly handles all cases. The error handling and body closing logic are improved.

The changes address the issue of handling response bodies without content-length headers by using io.ReadAll, which properly handles all cases. The error handling and body closing logic are improved.
t.behrendt merged commit a79ce64e82 into main 2025-11-07 17:14:15 +01:00
t.behrendt deleted branch fix-issue-reading-response-body 2025-11-07 17:14:16 +01:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t.behrendt/realDynDNS#54