śr., 23 paź 2019 o 12:06 Simon Goldschmidt <goldsi...@gmx.de> napisał(a):
>
> "tomek wilkxt" wrote:
> > > > #define LWIP_HTTPD_POST_MANUAL_WND  1
> > > > In normal http:
> > > > if *post_auto_wnd=1 its work ok, i can read large file.
> > > > if *post_auto_wnd=0, not work (I see TCP ZeroWindow flags).
> > >
> > > Well, these zero windows are expected, no? You'll have to update the
> > > window from your application, of course.
> >
> > you can show an example from manual widows update ?
>
> RTFM:
> http://www.nongnu.org/lwip/2_1_x/group__httpd.html#ga6cb33693ee8f0c054be82a968ceff582
>
> "post_auto_wnd  Set this to 0 to let the callback code handle window updates 
> by calling 'httpd_post_data_recved' (to throttle rx speed) default is 1 
> (httpd handles window updates automatically)"
>
> Is that clear enough?

I noticed that this is not a POST MANUAL WND problem but a general
problem with receiving more data (both GET and POST).
As I increased TCP WND from
#define TCP_WND (2 * TCP_MSS)
to
#define TCP_WND (8 * TCP_MSS)
I can receive more data before the problem occurs. But the problem
still occurs when I want to send a larger file, it looks like the
automatic TCP_WND control does not work for https. I attach the
screenshot from wireshark as it looks.
https://drive.google.com/open?id=0B6fxdAbp613KeTV2Z05rU2xNSUZoOEF2MF9xTWMxdHVJZUE4



-- 
regards
tomek

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

Reply via email to