I'm running a https server via altcp_tls_mbedtls
I'm new to this too so not sure how can I debug it for you...
but.. I guess it is working for me, also,
I found on alttcp_tls_mbedtls.c function altcp_tls_create_config

if (TCP_WND < MBEDTLS_SSL_MAX_CONTENT_LEN) {
    LWIP_DEBUGF(ALTCP_MBEDTLS_DEBUG|LWIP_DBG_LEVEL_SERIOUS,
      ("altcp_tls: TCP_WND is smaller than the RX decrypion buffer, connection 
RX might stall!\n"));
  }

so I made the TCP_WND greater than the max content len of TLS.
I guess in that case it sure is receiving data volumes that are larger than 
TCP_WND.


@Simon: would be possible to turn that run time if in to a pre-compiler check?

Mario Luzeiro

________________________________________
From: lwip-users <lwip-users-bounces+mrluzeiro=ua...@nongnu.org> on behalf of 
tomek wilkxt <wil...@gmail.com>
Sent: 25 October 2019 07:22
To: Mailing list for lwIP users
Subject: Re: [lwip-users] https post_auto_wnd not work

Did anyone have a problem or could check how the https(mbedtls) server
works when receiving data volumes larger than TCP_WND?

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to