We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我在运行时用 let ssLocal = require('encryptsocks').createClient(config, true) 开启本地代理客户端,之后用 ssLocal.closeAll() 关闭代理并等待ssLocal.server和ssLocal.pacServer的close事件回调 pacServer回调很快,但是server的回调很慢,这是什么原因呢? 或者有没有更好的方法来解决我的需求呢~谢谢
let ssLocal = require('encryptsocks').createClient(config, true)
ssLocal.closeAll()
The text was updated successfully, but these errors were encountered:
server也是默认net模块创建的tcp server,要看你的目标是“多快”,因为server要等到所有的连接都关闭后才会触发回调
Sorry, something went wrong.
No branches or pull requests
我在运行时用
let ssLocal = require('encryptsocks').createClient(config, true)
开启本地代理客户端,之后用
ssLocal.closeAll()
关闭代理并等待ssLocal.server和ssLocal.pacServer的close事件回调
pacServer回调很快,但是server的回调很慢,这是什么原因呢?
或者有没有更好的方法来解决我的需求呢~谢谢
The text was updated successfully, but these errors were encountered: