lwIP - A Lightweight TCP/IP stack - Bugs: bug #23559, lwip_recvfrom problem with tcp
You are not allowed to post comments on this tracker with your current authentication level.
bug #23559: lwip_recvfrom problem with tcp
Submitter: | Cui hengbin <phant> | ||
Submitted: | Fri 13 Jun 2008 12:29:34 AM UTC | ||
Category: | sockets/netconn | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | CVS Head |
Jump to the original submission
Fri 01 May 2009 12:35:50 PM UTC, comment #13: |
Kieran Mansley <kieranm> |
Sun 26 Apr 2009 11:24:50 AM UTC, comment #12: Forgot to update the status: "ready for test", not "in progress" |
Simon Goldschmidt <goldsimon> |
Tue 21 Apr 2009 07:04:32 PM UTC, comment #11: Anyone had time for testing? |
Simon Goldschmidt <goldsimon> |
Wed 15 Apr 2009 09:14:28 PM UTC, comment #10: Well spotted, Kieran! I've checked in a modification in that loop: whenever we would exit it with -1 or 0, check if we have received data before and return that. The error code will be created again on the next call to the function.
|
Simon Goldschmidt <goldsimon> |
Wed 11 Mar 2009 02:35:55 PM UTC, comment #9: I think I understand this now. The problem is as follows:
|
Kieran Mansley <kieranm> |
Sun 01 Mar 2009 10:57:20 AM UTC, comment #8: Reopening this so we don't forget about it :-) |
Simon Goldschmidt <goldsimon> |
Wed 25 Feb 2009 09:04:19 AM UTC, comment #7: Koen, can you provide a trace based on Simon's example below ? |
Frédéric Bernon <fbernon> |
Wed 25 Feb 2009 07:05:46 AM UTC, comment #6: Hey Frédéric, we are using the latest release (1.3.0).
|
Koen Deforche <kdeforche> |
Tue 24 Feb 2009 07:50:33 PM UTC, comment #5: Can you confirm us which lwIP release you use? I'm not sure, but lost of data at the end of tcp connection was a problem in lwIP 1.2.0, but was fixed in 1.3.0. |
Frédéric Bernon <fbernon> |
Tue 24 Feb 2009 04:47:07 PM UTC, comment #4: I have to second this bug and bug-fix. Without this bug-fix we regularly experience data loss at the end of a TCP connection.
|
Koen Deforche <kdeforche> |
Tue 10 Feb 2009 09:01:33 PM UTC, comment #3: Cui, since you did not go into detail on Frédéric's questions and I think Frédéric is right here, I'm closing this as invalid.
|
Simon Goldschmidt <goldsimon> |
Mon 14 Jul 2008 11:18:13 PM UTC, comment #2: If netconn_recv receive a 7000 bytes ,but lwip_recvfrom user buffer only 4096,In this case when second time socket->lastdata!= NULL ,but has no data when fetching a netbuf with netconn_recv,
|
Cui hengbin <phant> |
Sun 13 Jul 2008 01:39:17 PM UTC, comment #1: I'm not sure to understand:
|
Frédéric Bernon <fbernon> |
Fri 13 Jun 2008 12:29:34 AM UTC, original submission:
Hi All:
|
Cui hengbin <phant> |
No files currently attached
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 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-05-01 | kieranm | Status | Ready For Test | Fixed | |
Open/Closed | Open | Closed | |||
2009-04-26 | goldsimon | Status | In Progress | Ready For Test | |
2009-04-15 | goldsimon | Status | None | In Progress | |
Assigned to | None | goldsimon | |||
2009-04-03 | kieranm | Planned Release | 1.3.1 | ||
2009-03-11 | kieranm | Status | Need Info | None | |
2009-03-01 | goldsimon | Status | Invalid | Need Info | |
Open/Closed | Closed | Open | |||
2009-02-10 | goldsimon | Status | None | Invalid | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
Let's resolved this as fixed and re-open if the bug persists. I think it's well understood so would be surprised if your fix had failed.