nodejs-proxy
nodejs-proxy copied to clipboard
port handling in incoming request
in parsing the incoming request, there is a little glitch in the port handling
http://github.com/pkrumins/nodejs-proxy/blob/master/proxy.js#L86
here in fact the port may be in the header 'host'
for reference http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html Host = "Host" ":" host [ ":" port ] ; Section 3.2.2.
i made a patch to fix it. http://gist.github.com/537719