lwIP - A Lightweight TCP/IP stack - Bugs: bug #33952, PUSH flag in incoming packet is...
You are not allowed to post comments on this tracker with your current authentication level.
bug #33952: PUSH flag in incoming packet is lost when packet is aggregated and sent to application
Submitter: | Klaus Hansen <foss_eswp> | ||
Submitted: | Fri 05 Aug 2011 10:37:32 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: | 1.3.0 |
Sat 03 Sep 2011 08:01:30 PM UTC, comment #3: |
Simon Goldschmidt <goldsimon> |
Thu 01 Sep 2011 07:36:17 PM UTC, comment #2: Makes sense to me. There won't be any data after the FIN, so the FIN is an implicit PSH |
Kieran Mansley <kieranm> |
Wed 31 Aug 2011 03:11:46 PM UTC, comment #1: I'v downloaded the newest code and check this issue, I found that PBUF_FLAG_PUSH has been added once a packet with PUSH flag.
|
tao tang <opensms4> |
Fri 05 Aug 2011 10:37:32 AM UTC, original submission:
I noticed this faulty behaviour when I was trying to "put" a file from a Windows FTP client to a FTP server using version 1.3.0 of the lwIP stack. Sometimes the last bytes in the file were missing.
|
Klaus Hansen <foss_eswp> |
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 |
---|---|---|---|---|---|
2011-09-03 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
Planned Release | 1.4.1 | ||||
2011-08-05 | foss_eswp | Attached File | - | Added sockets.c, #23744 | |
Attached File | - | Added tcp.h, #23745 | |||
Attached File | - | Added tcp_in.c, #23746 |
Powered by Savane 3.13-caa5.
Corresponding source code
This is my fix: just set PBUF_FLAG_PSH on every pbuf passed to tcp_input() (if PSH or FIN flag is given) instead of setting it just before passing it to the application.