|
From: | David GIRAULT |
Subject: | [lwip-devel] [bug #52836] altcp_write error because of invalid sndbuf available returned |
Date: | Mon, 22 Jan 2018 10:54:29 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 |
Follow-up Comment #5, bug #52836 (project lwip): Hi Simon, FYI, just found the following function in mbedTLS that will return the exact value required for the ssl_added variable. int mbedtls_ssl_get_record_expansion( const mbedtls_ssl_context *ssl ) It take care of the negociated cipher suite, and record header size. So I think it may be used instead of the obvious calculation I use in may orignial patch. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?52836> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |