Re: /dev/poll support for squid-2

2007-05-22 Thread Adrian Chadd
On Tue, May 22, 2007, Michael Pye wrote: Adrian Chadd wrote: On Mon, May 21, 2007, Henrik Nordstrom wrote: What's left to make it a full /dev/poll support? Just testing, or is something missing? Testing. I will test this on a ~200 request per second solaris 10 box in the next day or two

Re: /dev/poll support for squid-2

2007-05-21 Thread Henrik Nordstrom
sön 2007-05-20 klockan 17:43 +0800 skrev Adrian Chadd: I've written some initial /dev/poll support for squid-2: http://www.creative.net.au/diffs/2007-05-20-squid2-devpoll.diff The notable change to the rest of the codebase is exposing commOpen() and commClose() functions. commOpen

Re: /dev/poll support for squid-2

2007-05-21 Thread Adrian Chadd
On Mon, May 21, 2007, Henrik Nordstrom wrote: What's left to make it a full /dev/poll support? Just testing, or is something missing? Testing. Well, the stuff I first committed was an attempt to be friendly and bunch up event updates a-la kqueue - but delete entries when the FD closes so we

/dev/poll support for squid-2

2007-05-20 Thread Adrian Chadd
I've written some initial /dev/poll support for squid-2: http://www.creative.net.au/diffs/2007-05-20-squid2-devpoll.diff The notable change to the rest of the codebase is exposing commOpen() and commClose() functions. commOpen() to initialise the per-fd state, the commClose() to be a bit more