Skip to content
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

FTPS connection not closed properly getting TIME_WAIT #77

Open
vinodKumarPula opened this issue Jun 11, 2019 · 0 comments
Open

FTPS connection not closed properly getting TIME_WAIT #77

vinodKumarPula opened this issue Jun 11, 2019 · 0 comments

Comments

@vinodKumarPula
Copy link

var FTPS = require('ftps');
var ftpClient = new FTPS({
host: 'localhost',
username: 'test',
password: 'test',
protocol: 'ftp',
requireSSHKey: false,
timeout:10,
retries:5,
additionalLftpCommands: [
'set ftp:ssl-allow false',
'set ssl:verify-certificate no',
'set ftp:ssl-force false',
'set passive-mode yes'
].join(';')
});
ftpClient.put(localPath, remotePath).exec((er,res)=>{});
...............................
Hi, Above is my code its working properly but the issue is its making too many connections and having too many connections in TIME_WAIT state
Screenshot from 2019-06-11 21-40-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant