1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

fix write taking too long

This commit is contained in:
ficeto 2015-05-07 13:38:32 +03:00
parent 7be8c1d270
commit 8819c1e91c

View File

@ -169,6 +169,7 @@ class ClientContext {
_size_sent = will_send; _size_sent = will_send;
DEBUGV(":wr\r\n"); DEBUGV(":wr\r\n");
tcp_output( _pcb );
_send_waiting = true; _send_waiting = true;
delay(5000); // max send timeout delay(5000); // max send timeout
_send_waiting = false; _send_waiting = false;