[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #59033] Possible memory leak in mqtt_disconnect
From: |
David GIRAULT |
Subject: |
[lwip-devel] [bug #59033] Possible memory leak in mqtt_disconnect |
Date: |
Fri, 18 Sep 2020 06:12:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0 |
Follow-up Comment #1, bug #59033 (project lwip):
Hi Ondrej,
The altcp_mbedtls_close() already calls altcp_close(conn->inner_conn) which as
put the socket in closing state.
The raw TCP connection under the mbedTLS connection must follow the TCP state
machine, and should not destroyed like this.
Wait a few minutes, and you'll see the TCP socket is released correctly.
Regards,
David
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?59033>
_______________________________________________
Message posté via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #59033] Possible memory leak in mqtt_disconnect,
David GIRAULT <=