mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-12 08:23:42 +00:00
Increased availability by removing TCP active-close show-stopper. Leaving pbuf memory leak in for now.
This commit is contained in:
parent
ca90f6fce9
commit
60022e1687
@ -132,7 +132,7 @@ echo_recv(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err)
|
||||
|
||||
es = arg;
|
||||
|
||||
if (p == NULL) {
|
||||
if ((es == NULL) || (p == NULL)) {
|
||||
close_conn(pcb, es);
|
||||
return ERR_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user