Re: [lwip-users] https post_auto_wnd not work

2019-10-25 Thread Mário Luzeiro
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

Re: [lwip-users] https post_auto_wnd not work

2019-10-25 Thread tomek wilkxt
> 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 work

Re: [lwip-users] https post_auto_wnd not work

2019-10-25 Thread Mário Luzeiro
> how are you set to TCP_WND and MBEDTLS_SSL_MAX_CONTENT_LEN ? Hi Tomek, here are my values: #define MBEDTLS_SSL_MAX_CONTENT_LEN 2048 #define TCP_MSS 800 #define TCP_WND (2048 + 2048 / 4) // not sure how much "headroom" should I give he

Re: [lwip-users] memp_malloc: out of memory in pool TCP_PCB

2019-10-25 Thread Mário Luzeiro
Hi Simon, So any hint how can I debug it? Should it be an application or lwip issue? I did some debug and can see the httpd and tcp closing connections (serial port debug) but the TCP_PCB slots stay the same. Please note that I'm still able to connect and there are no any issues with httpd conn

[lwip-users] ethernet external loopback test using lwip

2019-10-25 Thread vinu
Hi all, I need to run an external loopback test (using an Ethernet loopback cable) using LwIP 1.4.2 stack as part of board testing. Please note that i need the data to loop through the Ethernet cable and come back to the device. Is this possible using netconn APIs or should i make use of raw tcp a

Re: [lwip-users] Where to call mdns_resp_add_netif?

2019-10-25 Thread goldsi...@gmx.de
Am 25.10.2019 um 01:19 schrieb Dave Nadler: Hi - Hoping for a bit of help using MDNS. Am I correct in understanding I need to register the IPaddress/netif with MDNS as below? Is there a convenient hook to do this when DHCP receives an IP address? Thanks in advance for any help, You can attach a

Re: [lwip-users] ethernet external loopback test using lwip

2019-10-25 Thread goldsi...@gmx.de
Am 25.10.2019 um 15:17 schrieb vinu: Hi all, I need to run an external loopback test (using an Ethernet loopback cable) using LwIP 1.4.2 stack as part of board testing. Please note that i need the data to loop through the Ethernet cable and come back to the device. Is this possible using netconn

Re: [lwip-users] ethernet external loopback test using lwip

2019-10-25 Thread vinu
Thanks Simon. I think LWIP_UDP is already enabled in my code. Let me try udp broadcast first. -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/l