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 #2823

Closed
wants to merge 2 commits into from
Closed

Conversation

simorex80
Copy link

@simorex80 simorex80 commented Jul 26, 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

@robjtede robjtede added A-http project: actix-http B-semver-patch labels Jul 26, 2022
@robjtede robjtede changed the title Fix/http v3.2.1 fix pending stream drop Jul 26, 2022
@simorex80 simorex80 closed this Aug 7, 2022
@simorex80 simorex80 deleted the fix/http-v3.2.1 branch August 7, 2022 23:27
@simorex80
Copy link
Author

Moved to #2830

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
2 participants