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 777b561 commit 6251547Copy full SHA for 6251547
HttpClient.cpp
@@ -359,18 +359,6 @@ bool HttpClient::endOfBodyReached()
359
360
int HttpClient::read()
361
{
362
-#if 0 // Fails on WiFi because multi-byte read seems to be broken
363
- uint8_t b[1];
364
- int ret = read(b, 1);
365
- if (ret == 1)
366
- {
367
- return b[0];
368
- }
369
- else
370
371
- return -1;
372
373
-#else
374
int ret = iClient->read();
375
if (ret >= 0)
376
@@ -382,7 +370,6 @@ int HttpClient::read()
382
}
383
384
return ret;
385
-#endif
386
387
388
int HttpClient::read(uint8_t *buf, size_t size)
0 commit comments