> 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

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

Reply via email to