Hacker GitHub

← All repos

jamesmoriarty/forward-proxy

View on GitHub ↗ ★ 151 Ruby

Minimal HTTP(S) forward proxy using 150LOC and only standard libraries.

5 mentions on Hacker News by 4 people: 2 stories, 3 comments · first 2021-01-17 · latest 2021-01-18

Mentions per year 5 mentions · busiest year 2021 (5)
20082026
  1. …a proxy server work is a bit bogus when you rely on Ruby's standard library. Look at the code at https://github.com/jamesmoriarty/forward-proxy/blob/main/lib... . As expected, it doesn't parse headers but uses stdlib's code to do that.…
  2. …to be great, considering it is opening up a new connection to the forwarded host for every request. https://github.com/jamesmoriarty/forward-proxy/blob/bc7d9ec1...
  3. …some similar small (in terms of LOC) C/Rust proxy. BTW, Github counts 149 SLOC just for this file: https://github.com/jamesmoriarty/forward-proxy/blob/769b6424...
  4. ▲ 115
    Show HN: 100 LOC Ruby forward proxy using only standard libraries
    story by moriarty_ · 2021-01-18 · 37 comments
  5. ▲ 3
    100 LOC Ruby forward proxy using only standard libraries
    story by moriarty_ · 2021-01-17 · 0 comments