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 2674c8a commit ca8e69eCopy full SHA for ca8e69e
src/AudioTools/CoreAudio/AudioHttp/HttpRequest.h
@@ -62,8 +62,12 @@ class HttpRequest : public BaseStream {
62
void end() override {
63
if (connected()) {
64
// write final 0 chunk if necessary
65
- if (is_chunked_output_active) client_ptr->println(0, HEX);
66
- client_ptr->flush();
+ if (is_chunked_output_active) {
+ client_ptr->println(0, HEX);
67
+ client_ptr->println();
68
+ client_ptr->flush();
69
+ is_chunked_output_active = false;
70
+ }
71
LOGI("stop");
72
client_ptr->stop();
73
}
0 commit comments