-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCP stack doesn't handle data received in FIN_WAIT_1 #33986
Labels
area: Networking
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Milestone
Comments
Your fix looks good, can you send a PR for it? |
jukkar
added a commit
to jukkar/zephyr
that referenced
this issue
May 14, 2021
If we receive any data in FIN_WAIT_1, then ack it even if we are discarding it. Fixes zephyrproject-rtos#33986 Signed-off-by: Jukka Rissanen <[email protected]> Signed-off-by: Jim Paris <[email protected]>
@jimparis I submitted your patch proposal in order to get this merged to 2.6, please +1 it if ok. |
nashif
pushed a commit
that referenced
this issue
May 25, 2021
If we receive any data in FIN_WAIT_1, then ack it even if we are discarding it. Fixes #33986 Signed-off-by: Jukka Rissanen <[email protected]> Signed-off-by: Jim Paris <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Networking
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
The TCP stack doesn't appear to handle data received in
FIN_WAIT_1
. What I'm seeing is this, whenever HTTPS connection closes:It looks like what happens is the client (192.x) and the server (75.x) are both trying to close the connection at the same time. I'm guessing, from the client's point of view, things happen in a slightly different order:
FIN_WAIT_1
This seems to fix the problem:
With that, the packet capture looks great:
The text was updated successfully, but these errors were encountered: