-
Notifications
You must be signed in to change notification settings - Fork 427
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
change owner process for async request to stream_to value #646
Comments
what would be the main goal of it? Right now the stream "Owner" (which is the Pid set via Isn't it enough? |
I have a case when a process should send a request to API when it terminates, I wanted to do it in an async manner, so I use async and stream_to options to handle result in another process. But the process which called request terminating, hackney cancel the request before |
Hello.
I figure out, that hackney starts tracking process which calls
hackney:request
even ifstream_to
parameter is passed.I expected that when
stream_to
passed hackney would track this process.Maybe it should be one more parameter to set the owner process or just use
stream_to
for this.What do you think?
If you agree, I can provide a pull request with changes for this.
Have nice day.
The text was updated successfully, but these errors were encountered: