lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] POST issues with different browsers


From: Mário Luzeiro
Subject: Re: [lwip-users] POST issues with different browsers
Date: Thu, 19 Sep 2019 11:53:45 +0000

I found something that helped to solve my issue
there is some issue with Ethernet DMS Transmit on STM32F7 that was not sending 
a package before need to send another one:
https://community.st.com/s/question/0D50X00009XkgffSAB/stm32f746-ethernet-dma-transmit-problem

________________________________________
From: lwip-users <lwip-users-bounces+mrluzeiro=address@hidden> on behalf of 
Mário Luzeiro <address@hidden>
Sent: 19 September 2019 10:18
To: Mailing list for lwIP users
Subject: Re: [lwip-users] POST issues with different browsers

Hi Tomek
My MBEDTLS_SSL_MAX_CONTENT_LEN is already smaller, but tried with that value 
and I had the same behavior.
Would be possible to share your LWIP and mbedTLS defines/configuration?

________________________________________
From: lwip-users <lwip-users-bounces+mrluzeiro=address@hidden> on behalf of 
tomek wilkxt <address@hidden>
Sent: 17 September 2019 10:49
To: Mailing list for lwIP users
Subject: Re: [lwip-users] POST issues with different browsers

Hi

I had a similar problem with GET, OK in firefox but not in chrome
anymore. This was due to the fact that chromium immediately made two
parallel queries when establishing the connection. My STM32 have smal
RAM and was unable to handle it. Helped decres max content len to 3072
from 8192
#define MBEDTLS_SSL_MAX_CONTENT_LEN 3072 in confg.h

pon., 16 wrz 2019 o 22:47 Mário Luzeiro <address@hidden> napisał(a):
>
> Hello all,
>
> I'm implementing a httpd over LWIP (latest master) /mbedTLS, despite it is a 
> very slow MCU implementation, it is working.
> The issue now I have is with POST.
>
> If I start a browser in private mode, the first time I press the button for 
> POST it works OK.
> For Opera and Chromium on the next retries, the POST does not work. It looks 
> the browser is not fully request the post (I cannot full debug as Im using 
> TLS)
> from the logs I can see it received one connection, there is no debug about a 
> incoming POST, then it reach the max poll retries and closes the connection.
>
> ..but with Firefox, I can request every time POST and it works.
>
> I found also that its not (just) related with the server side code, because 
> if I start from reset, without restart the browser, it still does not work, I 
> need to start a fresh private window.
>
> Any hints how can I found what is wrong and why it work on Firefox but not in 
> other browsers?
> Fell free to request me any debug info you would like to see.
>
> Appreciate any advice!
>
> Regards,
> Mario Luzeiro
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users



--
pozdrawiam
tomek

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

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



reply via email to

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