Re: squid-3 comm reworking, pass 1

From: Robert Collins <robertc@dont-contact.us>
Date: Mon, 18 Sep 2006 17:30:49 +1000

On Mon, 2006-09-18 at 15:18 +0800, Adrian Chadd wrote:
>
> Why? I don't believe the current abstractions to be useful.
> Noone has really made any real push to use alternative network/
> communication layers which don't provide Berkeley sockets and
> file descriptors. The real way to do this is to properly abstract
> out everything beginning at the filedescriptor layer and allow
> people to drop in replacement "fd", IPC, comm and disk implementations
> of a fixed API. This would be nice to have in the future.
> The C API, with perhaps enough fruit to support stuff like the
> Callback type, should do us fine for now.

One important thing to consider is windows NT, for which fd's are a
burden - it has sockets, but the handle is opaque and not contiguous
ints.

Other than that, if it gets us a release - sure. +1.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Mon Sep 18 2006 - 01:32:48 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT