[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9430] altcp API multiples fixes
From: |
David GIRAULT |
Subject: |
[lwip-devel] [patch #9430] altcp API multiples fixes |
Date: |
Mon, 7 Aug 2017 10:18:43 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 |
URL:
<http://savannah.nongnu.org/patch/?9430>
Summary: altcp API multiples fixes
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: dgirault
Submitted on: Mon 07 Aug 2017 02:18:41 PM UTC
Category: apps
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
In our project, we use the altcp layer to support both MQTT and HTTP/HTTPS.
We faced a lot of problems and asserts so I try to fixe them with the
following patches.
Thoses patches will resolve the following problems:
- altcp_free() result in memory leak,
- altcp_pcb not freed on lower error callback calls,
- no way to free mbedtls config,
- no way to retreive mbedtls ssl context to check certificates,
- no way to attach existing tcp_pcb to a new altcp_pcb.
- removed an assert in altcp_mbedtls since this condition (rx_pbuf == 0 at end
of handshake) can fail.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 07 Aug 2017 02:18:41 PM UTC Name:
0001-altcp_tls_mbedtls-fix-log-messages-by-include-a-n.patch Size: 5KiB By:
dgirault
<http://savannah.nongnu.org/patch/download.php?file_id=41443>
-------------------------------------------------------
Date: Mon 07 Aug 2017 02:18:41 PM UTC Name: 0002-altcp-fix-altcp_free.patch
Size: 683B By: dgirault
<http://savannah.nongnu.org/patch/download.php?file_id=41444>
-------------------------------------------------------
Date: Mon 07 Aug 2017 02:18:41 PM UTC Name: 0003-altcp_tcp-some-fixes.patch
Size: 3KiB By: dgirault
<http://savannah.nongnu.org/patch/download.php?file_id=41445>
-------------------------------------------------------
Date: Mon 07 Aug 2017 02:18:41 PM UTC Name: 0004-altcp_tls-some-fixes.patch
Size: 3KiB By: dgirault
<http://savannah.nongnu.org/patch/download.php?file_id=41446>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9430>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9430] altcp API multiples fixes,
David GIRAULT <=