Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork103
fix: Allow client.write() when pending#200
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Rapsssito commentedApr 23, 2025
@jamesthomp, thanks for the PR! However, this does not match NodeJS behaviour, as
|
Uh oh!
There was an error while loading.Please reload this page.
Thanks for this library. I've tried to use it with another library which essentially does:
The above code works in node without raising an error, but in this library it throws the
'Socket is closed.'error. This change resolves the issue and queues up the writes until the socket connects.