Skip to content

Instantly share code, notes, and snippets.

Avatar

Tony Gambone tonygambone

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am tonygambone on github.
  • I am tonygambone (https://keybase.io/tonygambone) on keybase.
  • I have a public key ASCMh58NIN7SqZ7xNOT0NIVYTJWvb9401XZPS-iUL3CoKAo

To claim this, I am signing this object:

@tonygambone
tonygambone / https_forward_proxy.js
Created Apr 19, 2012
HTTP/HTTPS forward proxy in node.js
View https_forward_proxy.js
// HTTP forward proxy server that can also proxy HTTPS requests
// using the CONNECT method
// requires https://github.com/nodejitsu/node-http-proxy
var httpProxy = require('http-proxy'),
url = require('url'),
net = require('net'),
http = require('http');