lwIP - A Lightweight TCP/IP stack - Bugs: bug #38468, tcp_sent() not called on half-open...
You are not allowed to post comments on this tracker with your current authentication level.
bug #38468: tcp_sent() not called on half-open connection for data ACKed with the same ack as FIN
Submitter: | Valery Ushakov <uwe> | ||
Submitted: | Tue 05 Mar 2013 02:12:05 AM UTC | ||
Category: | TCP | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Sat 21 Mar 2015 08:00:07 PM UTC, comment #2: |
Simon Goldschmidt <goldsimon> |
Sat 21 Mar 2015 07:40:53 PM UTC, comment #1: I do think this is a bug: we should issue TCP_EVENT_SENT() in the TF_CLOSED case, too. |
Simon Goldschmidt <goldsimon> |
Tue 05 Mar 2013 02:12:05 AM UTC, original submission:
I'm not sure if it's a bug or if I'm doing something wrong, so feel free
which mimics missing TCP_EVENT_SENT (a few lines later in tcp_input() in
|
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-03-21 | goldsimon | Status | In Progress | Fixed | |
2015-03-21 | goldsimon | Open/Closed | Open | Closed | |
2015-03-21 | goldsimon | Status | None | In Progress | |
Assigned to | None | goldsimon |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed, thanks for reporting.
In applications like these, you have to take special care about not referencing the pcb after tcp_close() returns success. However, this bugfix should ensure you either get all 'sent' events or an 'err' callback, even though you don't reference the pcb any more.