Skip to content

Commit

Permalink
HttpRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 20, 2024
1 parent c7d311e commit 2674c8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AudioTools/CoreAudio/AudioHttp/HttpRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@ class HttpRequest : public BaseStream {
TRACED();
// if sending is chunked we terminate with an empty chunk
if (isChunked()) {
write(nullptr, 0);
if (is_chunked_output_active) client_ptr->println(0, HEX);
client_ptr->println();
is_chunked_output_active = false;
}
LOGI("Request written ... waiting for reply");
// Commented out because this breaks the RP2040 W
Expand Down

0 comments on commit 2674c8a

Please sign in to comment.