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: tomek wilkxt
Subject: Re: [lwip-users] https post_auto_wnd not work
Date: Fri, 25 Oct 2019 11:28:56 +0200

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

Send GET or POST from for example; curl -q -X POST  --data-binary
"@test.txt"  -k https://192.168.1.100

when test.txt file has more data than your TCP_WND

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

how are you set to TCP_WND and MBEDTLS_SSL_MAX_CONTENT_LEN ?



-- 
pozdrawiam
tomek



reply via email to

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