UWNetworksLab / colony

Apache License 2.0
5 stars 1 forks source link

Colony Chrome app can't handle many connections #27

Open kennysong opened 8 years ago

kennysong commented 8 years ago

When using localhost:1080 (the Colony Chrome app server) as Chrome's SOCKS5 server, we can't load any pages, as the server seems to be overwhelmed with the number of requests. This may be because we're generating a new SSH connection per request.

We might be able to fix this by reusing the same SSH connection for all requests. See the commented out code in the onConnection function in client/chrome-app/freedom-ssh.js.