[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Closing connections with rawapi
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] Closing connections with rawapi |
Date: |
Mon, 5 May 2014 11:03:58 +0200 |
Per Knytt wrote:
>> What I get from reading these mails is that Per says that tcp_close()
>> does *not* remove a CLOSED pcb from the bound list. If so, this would
>> be a bug, but from reading the sources, it actually *does* remove it:
>
> No, tcp_close() does that but tcp_abort() doesn't. Calling tcp_abort()
> to cleanup a bound, non-connected socket causes memory corruption. At
> least in 1.4.1.
Ah, yes, that would be a bug, I guess. Sorry for the confusion. Could you file
a bug report, please?
Simon
Re: [lwip-devel] Closing connections with rawapi, Sergio R. Caprile, 2014/05/02
Re: [lwip-devel] Closing connections with rawapi, Sergio R. Caprile, 2014/05/05