3 #include "AudioLogger.h"
19 virtual int readlnInternal(
Stream& client, uint8_t* str,
int len,
20 bool incl_nl =
true) {
22 LOGD(
"HttpLineReader %s",
"readlnInternal");
24 for (
int w = 0; w < 20 && client.available() == 0; w++) {
28 if (client.available() == 0) {
29 LOGW(
"HttpLineReader %s",
"readlnInternal->no Data");
35 bool is_buffer_owerflow =
false;
38 int c = client.read();
46 is_buffer_owerflow =
true;
56 if (str[j - 1] ==
'\r') {
68 if (!is_buffer_owerflow) {
74 if (is_buffer_owerflow) {
75 LOGE(
"Line cut off: %s", str);