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
20082026
-
…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.…
comment by IgorPartola · 2021-01-18 · in Show HN: 100 LOC Ruby forward proxy using only standard libraries -
…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...
comment by phuesler · 2021-01-18 · in Show HN: 100 LOC Ruby forward proxy using only standard libraries -
…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...
comment by tutfbhuf · 2021-01-18 · in Show HN: 100 LOC Ruby forward proxy using only standard libraries