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

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Wed 12 Sep 2018 08:42:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ec27.
    Corresponding source code