lwIP - A Lightweight TCP/IP stack - Bugs: bug #30889, lwIP hangs on sending small...
You are not allowed to post comments on this tracker with your current authentication level.
bug #30889: lwIP hangs on sending small packages
Submitter: | Ingo Ferchland <ferch> | ||
Submitted: | Fri 27 Aug 2010 03:05:38 PM UTC | ||
Category: | TCP | Severity: | 3 - Normal |
Item Group: | Crash Error | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | CVS Head |
Thu 30 Sep 2010 11:42:05 AM UTC, comment #5: |
Ingo Ferchland <ferch> |
Thu 30 Sep 2010 11:08:19 AM UTC, comment #4: Looks like this is solved. Resolving fixed. |
Kieran Mansley <kieranm> |
Sat 18 Sep 2010 10:11:45 PM UTC, comment #3: Hello Karsten,
|
Ingo Ferchland <ferch> |
Tue 14 Sep 2010 04:43:10 PM UTC, comment #2: Ingo, I've seen the same strange behaviour as you when using the FreeRTOS port that is provided with the lwIP contrib. It seems to be the Nagle Algorithm: When sending small amounts of data in short intervals, data is enqueued to form a potentially bigger data packet to unload the line from protocol overhead. However, if the queue filled up too quick, I observed an internal dead-lock of the task. For sockets, you can disable the Nagle Algorithm by setting the flag "TCP_NODELAY" using
|
Karsten Weiss <karsten> |
Fri 27 Aug 2010 03:42:37 PM UTC, comment #1: My guess is that this is a bug in the port rather than in lwIP itself, but as I don't have access to that port or any way to run it I can't try to reproduce this to verify it.
|
Kieran Mansley <kieranm> |
Fri 27 Aug 2010 03:05:38 PM UTC, original submission:
I use the ATMEL AVR32 lwIP port with FreeRTOS. The error occured on version 1.32 and CVS Head too.
|
Ingo Ferchland <ferch> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-09-30 | kieranm | Status | Need Info | Fixed | |
Open/Closed | Open | Closed | |||
2010-09-14 | karsten | Attached File | - | Added sys_thread_new.c, #21457 | |
2010-08-27 | kieranm | Status | None | Need Info | |
2010-08-27 | ferch | Attached File | - | Added telnet_wireshark.log, #21323 | |
2010-08-27 | ferch | Attached File | - | Added task.c, #21322 | |
Carbon-Copy | - | Added ferch |
Powered by Savane 3.13-758e.
Corresponding source code
The TCP_NODELAY or TF_NODELAY flag is an workaround only!
There is still an problem with the Nagle Algorithm, that should investigated.
Regards Ingo