On Tue, 3 Jun 2008 14:28:13 -0700
"Geoff Cadien" <[EMAIL PROTECTED]> wrote:

> I am currently looking at adding sendfile support to the APR
> transport.  One thing I'm trying to do is abstract out knowledge
> about the transport from FileRegion, currently FileRegion relies on
> FileChannel which ties it to NIO.  AbstractIoSession creates
> instances of DefaultFileRegion if the message written is either a
> FileChannel or a File.  So I'm wondering if AbstractIoSession should
> really be creating instances of DefaultFileRegion (it's causing me
> some pain :-) )
> 
> -geoff

Hi Geoff,

Yep when I started playing with APR I stumbled on the same problem. I
think we need to redo FileRegion system for being less NIO dependent.

Feel free to create an issue and attach patches ;)

Julien

Attachment: signature.asc
Description: PGP signature

Reply via email to