mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Stream::send() (#6979)
This commit is contained in:
@ -115,9 +115,9 @@ void setup(void) {
|
||||
// swallow the exact amount matching the full request+content,
|
||||
// hence the tcp connection cannot be handled anymore by the
|
||||
// webserver.
|
||||
#ifdef STREAMTO_API
|
||||
#ifdef STREAMSEND_API
|
||||
// we are lucky
|
||||
client->toWithTimeout(Serial, 500);
|
||||
client->sendAll(Serial, 500);
|
||||
#else
|
||||
auto last = millis();
|
||||
while ((millis() - last) < 500) {
|
||||
|
Reference in New Issue
Block a user