DefaultFileRegion and SslHandler

Norman Maurer norman at apache.org
Tue Aug 23 02:17:57 EDT 2011


Hi there,

I plan to use the DefaultFileRegion to speed up transfer of my 
file-based content (maildir). In one example[1] I saw that it can not be 
used with SSL. Is this still the case ?

I'm also concerned about the limitation for NIO only, as we made it 
plugable to use NIO or OIO. So whats the best thing to make sure to only 
use it with NIO ? Check the instanceof ServerSocketChannelFactory and 
only use it if its an instance of NioServerSocketChannelFactory ?


Thanks,
Norman

[1] 
http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/example/http/file/HttpStaticFileServerHandler.html



More information about the netty-users mailing list