Skip to content

Commit e4e7989

Browse files
Disable Nagles algoritm (#19)
1 parent e96a018 commit e4e7989

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ESP32_VS1053_Stream.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,11 @@ void ESP32_VS1053_Stream::loop()
711711
}
712712

713713
if (stream)
714+
{
714715
stream->setTimeout(0);
715-
716+
stream->setNoDelay(true);
717+
}
718+
716719
if (_remainingBytes && _vs1053->data_request())
717720
{
718721
if (_chunkedResponse)

0 commit comments

Comments
 (0)