mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 04:57:38 +00:00
In STA mode, tcp_send cannot catch err after disconnect station
This commit is contained in:
@@ -1071,7 +1071,7 @@ tcp_output(struct tcp_pcb *pcb)
|
||||
}
|
||||
#endif /* TCP_OVERSIZE_DBGCHECK */
|
||||
err = tcp_output_segment(seg, pcb);
|
||||
if ((err != ERR_OK) && (err != ERR_RTE)) {
|
||||
if (err != ERR_OK) {
|
||||
/* segment could not be sent, for whatever reason */
|
||||
pcb->flags |= TF_NAGLEMEMERR;
|
||||
return err;
|
||||
|
Reference in New Issue
Block a user