lwIP - A Lightweight TCP/IP stack - Bugs: bug #44595, netconn_recv does not set last_err...
You are not allowed to post comments on this tracker with your current authentication level.
bug #44595: netconn_recv does not set last_err on CLOSE_WAIT
| Submitter: | Ivan Delamer <idelamer> | ||
| Submitted: | Fri 20 Mar 2015 08:50:07 PM 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: | git head | ||
|
Wed 19 Apr 2017 07:18:10 PM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
|
Wed 12 Apr 2017 10:43:48 AM UTC, comment #3: The behaviour of this might have changed. Need to re-check this |
Simon Goldschmidt <goldsimon> |
|
Thu 10 Mar 2016 08:22:39 PM UTC, comment #2: This cannot be fixed without fixing task #13922 (Remove fatal error handling):
|
Simon Goldschmidt <goldsimon> |
|
Fri 20 Mar 2015 09:04:33 PM UTC, comment #1: The problem of not setting last_err actually got worse with my last cleanup of fixing race conditions in that area. I've decided to prefer fixing race conditions over setting last_err and discussing the arising problems seperately (like here :)
|
Simon Goldschmidt <goldsimon> |
|
Fri 20 Mar 2015 08:50:07 PM UTC, original submission:
In a half closed netconn (we have received FIN), recvmbox is set to invalid.
|
Ivan Delamer <idelamer> |
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 5 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2017-04-19 | goldsimon | Status | In Progress | Fixed | |
| Open/Closed | Open | Closed | |||
| 2017-04-12 | goldsimon | Status | Postponed | In Progress | |
| Assigned to | None | goldsimon | |||
| 2016-03-10 | goldsimon | Status | None | Postponed |
Powered by Savane 3.12.
Corresponding source code

Should be fixed by now: netconn_recv() doesn't contain that check any more, netconn_recv_data() does the right thing and netconn->last_err has been removed when fixing fatal errors and pending errors.