lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] https post_auto_wnd not work


From: Mário Luzeiro
Subject: Re: [lwip-users] https post_auto_wnd not work
Date: Fri, 25 Oct 2019 09:14:46 +0000

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=address@hidden> on behalf of 
tomek wilkxt <address@hidden>
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?



reply via email to

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