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 3f9c820 commit 721c161Copy full SHA for 721c161
src/AsyncTCP.cpp
@@ -1052,10 +1052,15 @@ void AsyncClient::_error(int8_t err) {
1052
TCP_MUTEX_LOCK();
1053
tcp_arg(_pcb, NULL);
1054
if (_pcb->state == LISTEN) {
1055
- tcp_sent(_pcb, NULL);
1056
- tcp_recv(_pcb, NULL);
1057
- tcp_err(_pcb, NULL);
1058
- tcp_poll(_pcb, NULL, 0);
+ // tcp_sent(_pcb, NULL);
+ _pcb->sent = NULL;
+ // tcp_recv(_pcb, NULL);
+ _pcb->recv = NULL;
1059
+ // tcp_err(_pcb, NULL);
1060
+ _pcb->errf = NULL;
1061
+ // tcp_poll(_pcb, NULL, 0);
1062
+ _pcb->poll = NULL;
1063
+ _pcb->pollinterval = 0;
1064
}
1065
TCP_MUTEX_UNLOCK();
1066
_free_closed_slot();
0 commit comments