buglwIP - A Lightweight TCP/IP stack - Bugs: bug #54653, altcp_tls_mbedtls rx depends on...


You are not allowed to post comments on this tracker with your current authentication level.

bug #54653: altcp_tls_mbedtls rx depends on TCP_WND

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Wed 12 Sep 2018 08:42:30 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  Simon Goldschmidt <goldsimon>
Open/Closed:  Open Planned Release:  None
lwIP version:  git head

Wed 12 Sep 2018 08:42:30 PM UTC, original submission:  

As window updates are sent application-controlled when tcp_recved() is called, the current altcp_tls implementation for mbedtls has a problem that it needs TCP_WND to be > MBEDTLS_SSL_MAX_CONTENT_LEN or the connection may stall because the remote side cannot send a whole decryption fragment.

Application-controlled window updates are still better, but maybe altcp_tls connections need to override the announced window in this case (as the buffer space is allocated by mbedtls anyway, not via lwIP pbufs).

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5