Skip to content
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

fix pending stream drop #2830

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

simorex80
Copy link

@simorex80 simorex80 commented Aug 7, 2022

PR Type

But Fix

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

Fix the problem described in bug:
A Stream object in a pending state won't be dropped after the client disconnect #1313
When the disconnection events is triggered, no state check is needed.
The streaming process, due no access to TcpStream, don't have the necessary elements to change the state and this caused the stuck described in the bug.

Closes #1313

@simorex80 simorex80 mentioned this pull request Aug 8, 2022
5 tasks
@robjtede robjtede added A-http project: actix-http B-semver-patch labels Aug 8, 2022
Simone Di Luzio and others added 2 commits September 16, 2022 23:59
@vlvicente
Copy link

Any ideas when this PR might be closed/merged?

@robjtede
Copy link
Member

robjtede commented Jun 5, 2023

It's waiting on a test case demonstrating the fix.

@simorex80
Copy link
Author

simorex80 commented Jun 5, 2023 via email

@vlvicente
Copy link

vlvicente commented Jun 6, 2023

It's needed something from my side? Il lun 5 giu 2023, 19:45 Rob Ede @.***> ha scritto:

The test case demonstrating the fix, I'm guessing!

@wangyoucao577
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-http project: actix-http B-semver-patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A Stream object in a pending state won't be dropped after the client disconnect
4 participants