-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Process hangs when using async_UNSTABLE with an async cookie store #831
Comments
This issue is stale because it has been open for 30 days with no activity. |
Sorry for the late communication. From my research, I found that deasync often hangups when used with Promise. Therefore, it is very difficult to handle the async cookie store using the current implementation of http-cookie-agent. In the next version, async_UNSTABLE will be removed and support for the async cookie store will be completely removed. Thanks for your understanding. |
Describe the bug
Hello, I know it is called async_UNSTABLE but it seems no matter what I try, I am unable to get an async cookie store to work properly. The process hangs indefinitely at the first promise encountered.
I think it is an issue with
deasync
- which from my testing seems to be pretty broken when combined withasync/await
/promises in general.Feel free to close the issue if you think it is more of a Node issue, but any help / ideas / working examples I can look at are appreciated.
To Reproduce
reproduction repo: https://github.com/kwerdna19/http-cookie-repro
Steps to reproduce the behavior:
Expected behavior
Process should terminate and print number of cookies.
Code that reproduces the bug
It seems to be a problem with deasync internally :(
Environments
The text was updated successfully, but these errors were encountered: