4

Are there any free, light-weight, single-process (e.g. multi-threaded, asyncore) HTTP forward proxy software?

Tinyproxy works great, but it uses multiple processes like (Apache's) prefork. HAProxy and nginx are reverse proxies don't seem to have forward proxy functions. Squid is huge...

  • Any chance you'd post your "hacky config" for using nginx as a forward proxy? I'm trying to do something similar. – Kevin May 17 '12 at 16:59
  • 1
    Inside the server block: location / { proxy_pass $scheme://$http_host$request_uri; } – netvope May 17 '12 at 21:04
  • Won't quite work for my present situation, but that's a clever trick I will try to remember. Thanks. – Kevin May 18 '12 at 14:43
  • The question is really: what is bad about multiple processes? Functionality-wise, it should not make a big difference, and tinyproxy's memory footprint is really small. – Michael Adam Jan 3 '16 at 11:58
6

Privoxy is a "non-caching web proxy with advanced filtering capabilities". But... What is wrong with using multiple processes? Due to the nature of how processes/threads are created on Linux (and some unixes) there's not much difference between a software that uses many children processes or threads...

If your concern is resource usage, you can tune tinyproxy much like apache (Min servers, min spare servers, max servers, etc...).

  • 1
    I ended up using nginx as a forward proxy with some hacky config. Thanks for you answer though :) – netvope Oct 18 '10 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.