mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-06-05 21:04:45 +00:00
tcp_in: Flag the pcb as closing if TCP_EVENT_CLOSED refused
2.1.3-esp: 223101f1 tcp_in: Flag the pcb as closing if TCP_EVENT_CLOSED refused
This commit is contained in:
@@ -541,6 +541,8 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
||||
TCP_EVENT_CLOSED(pcb, err);
|
||||
if (err == ERR_ABRT) {
|
||||
goto aborted;
|
||||
} else if (err == ERR_MEM) {
|
||||
tcp_set_flags(pcb, TF_CLOSEPEND);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user