Skip to content

Commit 6f2166a

Browse files
committed
HttpLineReader: increase responsiveness
1 parent 4ab9c59 commit 6f2166a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioTools/CoreAudio/AudioHttp/HttpLineReader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class HttpLineReader {
2121
int result = 0;
2222
LOGD("HttpLineReader %s", "readlnInternal");
2323
// wait for first character
24-
for (int w = 0; w < 20 && client.available() == 0; w++) {
25-
delay(100);
24+
for (int w = 0; w < 200 && client.available() == 0; w++) {
25+
delay(10);
2626
}
2727
// if we do not have any data we stop
2828
if (client.available() == 0) {

0 commit comments

Comments
 (0)