proxy

Nonintrusive http proxy in nodejs

In my previous posts I wrote about problems that might occur when using http proxy written in nodejs to debug http issues. Today I’m going to describe how to use nodejs builtin parser to overcome these problems. ##Nodejs streams Node.js has decent support for handling streams. Especially the function takes a lot of…

Read

Curl and a missing slash

will result in following output when the proxy is Fiddler: while a simple implementation relaying on node.js core http module and http-proxy module outputs this: Meanwhile without the proxy parameter the actual response is: but when the proxy setting is present: As you may have noticed the difference in requests (apart…

Read

An HTTPS system proxy with node

openssl rsa -passin pass:x -in proxy-mirror.pass.key -out proxy-mirror.key rm proxy-mirror.pass.key echo “Generated proxy-mirror.key” openssl req -new -batch -key proxy-mirror.key -out proxy-mirror.csr -subj /CN=proxy-mirror/[email protected]/OU=proxy-mirror/C=PL/O=proxy-mirror echo “Generated…

Read