lwIP - A Lightweight TCP/IP stack - Bugs: bug #37958, netconn API doesn't handle...
You are not allowed to post comments on this tracker with your current authentication level.
bug #37958: netconn API doesn't handle correctly connections half-closed by peer
Submitter: | Valery Ushakov <uwe> | ||
Submitted: | Wed 19 Dec 2012 03:26:21 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | CVS Head |
Wed 18 Feb 2015 09:23:11 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Wed 19 Dec 2012 03:26:21 PM UTC, original submission:
Half-open connections that were half-closed by peer are stuck with netconn::last_err = ERR_CLSD, which prevents further writes over them. Cf. netconn_recv_data:
|
Valery Ushakov <uwe> |
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-02-18 | goldsimon | Open/Closed | Open | Closed | |
2015-02-18 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon |
Powered by Savane 3.13-d3ae.
Corresponding source code
Fixed, thanks for reporting.
I've chosen to call 'netconn_close_shutdown(conn, NETCONN_SHUT_RD)' instead of your suggested 'sys_mbox_free/sys_mbox_set_invalid' as that seemed to introduce less change of behaviour.