CONNECT works like this:
1. You connect to the proxy
2. The proxy opens a TCP stream to the target server
3. The proxy dumbly forwards all traffic between you and the target
I don't think you can get CONNECT to reliably work with Node's HTTP
library. The HTTP parser expects well-formed messages but after step 1
the stream is no longer true HTTP, just arbitrary data being proxied
between two peers.
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.