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...

link|improve this question

79% accept rate
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 at 16:59
1  
Inside the server block: location / { proxy_pass $scheme://$http_host$request_uri; } – netvope May 17 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 at 14:43
feedback

1 Answer

up vote 3 down vote accepted

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...).

link|improve this answer
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
feedback

Your Answer

 
or
required, but never shown

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