lunixbochs / poxd

Personal TLS/interception proxy.
MIT License
2 stars 2 forks source link

support native http and https proxy #5

Open lunixbochs opened 9 years ago

lunixbochs commented 9 years ago
  1. read first line
  2. if it's CONNECT, just connect
  3. if it's another verb, parse the URL and connect to that (but drop the http://host:port part)