lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem with fragmented TCP packets using slow 3G conn


From: address@hidden
Subject: Re: [lwip-users] Problem with fragmented TCP packets using slow 3G connection
Date: Fri, 22 Feb 2013 16:31:02 +0100

Hi

Perhaps it could be, that there is still a Problem with Bug #24212. It has been said, that the Bug has been fixed. I dont really trust in this. I am still running my patch recommended when this issue was opened. When not running it, I am still facing problems with 1.4.0.

Regards
Hans-Joerg

Sent from my HTC

----- Reply message -----
From: address@hidden
To: <address@hidden>
Subject: lwip-users Digest, Vol 114, Issue 17
Date: Fri, Feb 22, 2013 13:55


Send lwip-users mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/lwip-users
or, via email, send a message with subject or body 'help' to
address@hidden

You can reach the person managing the list at
address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lwip-users digest..."


Today's Topics:

  1. Re: httpserver(-raw) and large files
     (=?ISO-8859-1?Q?Philipp_T=F6lke?=)
  2. Problem with fragmented TCP packets using slow 3G connection
     (Maciej Gajdzica)


----------------------------------------------------------------------

Message: 1
Date: Fri, 22 Feb 2013 08:10:05 +0100
From: "=?ISO-8859-1?Q?Philipp_T=F6lke?=" <address@hidden>
To: Mailing list for lwIP users <address@hidden>
Subject: Re: [lwip-users] httpserver(-raw) and large files
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

Am 21.02.2013 17:41, schrieb Louis Wells:
> Are you attempting to read the html files directly without converting
> them to hex arrays like in fsdata.c ? I Am not completely sure, but I
> doubt it will work in that scenario.
>
> You need to either use the makefsdata.c or the makefsdata.pl
> <http://makefsdata.pl> tool(these are in the contrib file) in order to
> convert your html files into a form that can be used by the flat file
> system. Look at the fsdata.c that is included for a reference on what
> you want the output to look like.

With makefsdata.c I can use my own html-files. But I want to use
html-files and other files from flash-memory. The documentation on
LWIP_HTTPD_CUSTOM_FILES and LWIP_HTTPD_DYNAMIC_FILE_READ read like those
options are meant for my scenario.

Regards,
--
Philipp T?lke, M.Sc. - Software-Developer - fos4X GmbH - www.fos4x.de
Thalkirchner Str. 210, Geb. 6 - D-81371 M?nchen; AG M?nchen HRB 189 218
T +49 89 999 542 58 - F +49 89 999 542 01
Managing Directors: Dr. Lars Hoffmann, Dr. Mathias M?ller



------------------------------

Message: 2
Date: Fri, 22 Feb 2013 13:55:04 +0100
From: Maciej Gajdzica <address@hidden>
To: address@hidden
Subject: [lwip-users] Problem with fragmented TCP packets using slow
3G connection
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hello

I have a program running on STM32F417 with lwIP working as webserver. When
I test it over local network everything works great, page is loading fast
and never hangs out. But i have a problem when I try to connect to my
website using more complex network. STM is connected to TP-Link router with
3G modem internet connection. Router is configured to forward requests from
3G's port 80 to STM. Most of page content fits in single frame and loads
with no errors. But one subpage is larger and it is not loaded when using
3G.

I made two logs with wireshark. In file "local_network_filtered" i saved
communication with STM over local network, where everything works well. I
load preview.html in single frame (about 1400 bytes), then
configuration.html which is fragmented since it has about 3kB. Second file
- "3g_network_filtered" contains logs from my attempts to load preview.html
(successfull) and configuration.html (unsuccessfull). Then I tried to load
these two pages second time with the same effect.

I think that it could be problem with one of these things:
STM ethernet driver - code from ST is poor and i found here topics about
some of its bugs.
Network configuration (3G and router) - I heard that 3G devices sometimes
are trying to reduce traffic and could drop some TCP control packets
lwIP - maybe that case with embedded device, router and slow 3G network is
rare and lwIP dont handle it proprely.

I use FreeRTOS 7.2 and lwIP 1.4.0 with socket API.

___
Best Regards
Maciek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/lwip-users/attachments/20130222/ad516b5d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: local_network_filtered.pcapng
Type: application/octet-stream
Size: 36468 bytes
Desc: not available
URL: <http://lists.nongnu.org/archive/html/lwip-users/attachments/20130222/ad516b5d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3g_network_filtered.pcapng
Type: application/octet-stream
Size: 51408 bytes
Desc: not available
URL: <http://lists.nongnu.org/archive/html/lwip-users/attachments/20130222/ad516b5d/attachment-0001.obj>

------------------------------

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

End of lwip-users Digest, Vol 114, Issue 17
*******************************************

reply via email to

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