-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support Promise cancellation #40
Comments
This also likely depends on reactphp/dns#28 so that the DNS request can also be canceled. |
Available as of v0.4.3. I'm now looking into this... |
Any help needed on this ? :) I need this to properly timeout requests in the http-client |
Will be resolved via #71 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should register a Promise cancellation handler so that the following code actually cleans up the underlying socket resource:
This can eventually also be used as the basis for timeout support (#28), similar to this:
The text was updated successfully, but these errors were encountered: