-
Notifications
You must be signed in to change notification settings - Fork 47
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
Multiple connections in same time #39
Comments
i also found it, did you have resolve ? |
No. |
The readme file of this tool mentions link management. Perhaps the timeout can be set to 0 when the constructor is initialized, which can solve the problem. |
You should check on your side not to execute the second downloadFile is not executed until the first one has finished, either by usse of the callback or by promisifing the calls and chaining them. Otherwise you will need 2 different SMB connections |
Old issue, but for posterity, I fixed it by adding |
I have this code:
Then I want download two files:
But I get error:
Uncaught Error: connect EISCONN 127.0.0.1:445 - Local (127.0.0.1:45618)
. When I comment one of the function call (or wait for first one to finish), everythings is fine. It seems that the client is creating new connection for every function call instead of use already created one.The text was updated successfully, but these errors were encountered: