diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c index aa583323..5e839ff6 100644 --- a/src/core/tcp_in.c +++ b/src/core/tcp_in.c @@ -480,6 +480,9 @@ tcp_input(struct pbuf *p, struct netif *inp) } tcp_input_pcb = NULL; + if (tcp_input_delayed_close(pcb)) { + goto aborted; + } /* Try to send something out. */ tcp_output(pcb); #if TCP_INPUT_DEBUG