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

Add sane way to close() pending request #36

Closed
clue opened this issue Sep 3, 2015 · 1 comment · Fixed by #91
Closed

Add sane way to close() pending request #36

clue opened this issue Sep 3, 2015 · 1 comment · Fixed by #91
Assignees
Milestone

Comments

@clue
Copy link
Member

clue commented Sep 3, 2015

Currently, calling close() on a pending Request stream does not necessarily close all underlying resources.

Also, it should probably cancel a pending connection attempt, so this likely depends on reactphp-legacy/socket-client#40

@clue
Copy link
Member Author

clue commented Mar 10, 2017

Calling close() should stop connecting / sending as expected and then close the stream, see also #70 for more details about improper event handling.

This is something I'll look into shortly :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant