UWNetworksLab / colony

Apache License 2.0
5 stars 1 forks source link

Curl not terminating in Colony Chrome app #26

Open kennysong opened 8 years ago

kennysong commented 8 years ago

If the Chrome app starts the socks5 server and we try a curl request (to a server that has a keep-alive HTTP header?), say curl --socks5 localhost:1080 http://ifconfig.co, curl will never terminate. However, the same code does work in node, which suggests it's an issue with our net.js shim.

I copied over the relevant code to a node version here, for debugging purposes: https://www.dropbox.com/s/d262csa9s51xldr/node-colony-chrome.zip

Run it with node test.js and then the same curl command.