lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #54653] altcp_tls_mbedtls rx depends on TCP_WND


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #54653] altcp_tls_mbedtls rx depends on TCP_WND
Date: Wed, 12 Sep 2018 16:42:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?54653>

                 Summary: altcp_tls_mbedtls rx depends on TCP_WND
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: 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: goldsimon
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54653>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]