Re: [squid-users] Implementation details of of proxying?

2013-09-14 Thread Eliezer Croitoru
Hey Jeff, Squid compiles and runs on many OS and mainly on unix like OS. BSD and LINUX are the main goal.. There are efforts for squid to work on windows and other platforms if it can be done with the resources available. I would say the using libevent is a good idea for a proxy. Building applian

Re: [squid-users] Implementation details of of proxying?

2013-09-14 Thread Jeffrey Walton
On Fri, Sep 13, 2013 at 8:19 AM, Kinkie wrote: > On Fri, Sep 13, 2013 at 4:15 AM, Jeffrey Walton wrote: >> I'm looking for the implementation details of how squid proxies its >> connections. That is (in pseudo code): >> >> socket src = ... // client socket >> socket dest = ... // server s

Re: [squid-users] Implementation details of of proxying?

2013-09-13 Thread Kinkie
On Fri, Sep 13, 2013 at 4:15 AM, Jeffrey Walton wrote: > I'm looking for the implementation details of how squid proxies its > connections. That is (in pseudo code): > > socket src = ... // client socket > socket dest = ... // server socket > > int n = read(src, buffer) > write(des

[squid-users] Implementation details of of proxying?

2013-09-12 Thread Jeffrey Walton
I'm looking for the implementation details of how squid proxies its connections. That is (in pseudo code): socket src = ... // client socket socket dest = ... // server socket int n = read(src, buffer) write(dest, buffer, n) I imagine its not that naive, and I'm really interested