We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d311e commit 2674c8aCopy full SHA for 2674c8a
src/AudioTools/CoreAudio/AudioHttp/HttpRequest.h
@@ -303,7 +303,9 @@ class HttpRequest : public BaseStream {
303
TRACED();
304
// if sending is chunked we terminate with an empty chunk
305
if (isChunked()) {
306
- write(nullptr, 0);
+ if (is_chunked_output_active) client_ptr->println(0, HEX);
307
+ client_ptr->println();
308
+ is_chunked_output_active = false;
309
}
310
LOGI("Request written ... waiting for reply");
311
// Commented out because this breaks the RP2040 W
0 commit comments