<div>Yes.<br></div>
                <div><br>--&nbsp;<br><a href="http://gleamynode.net/">Trustin Lee</a><br></div>
                 
                <p style="color: #A0A0A8;">On Friday, August 26, 2011 at 1:33 PM, Norman Maurer wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>Is the Same also true for zlib encoder and Zero copy ?<br><br>Bye<br>Norman<br><br>2011/8/26, 이희승 (Trustin Lee) &lt;<a href="mailto:trustin@gmail.com">trustin@gmail.com</a>&gt;:<br><blockquote type="cite"><div>On Tuesday, August 23, 2011 at 3:17 PM, Norman Maurer wrote:<br><br><blockquote type="cite"><div>Hi there,<br><br>I plan to use the DefaultFileRegion to speed up transfer of my<br>file-based content (maildir). In one example[1] I saw that it can not be<br>used with SSL. Is this still the case ?<br></div></blockquote>Yes, FileRegion is for zero-copy transfer. To encrypt something we have to<br>load the data into user space which involves memory copy. You have to use<br>the ChunkedWriteHandler instead.<br><blockquote type="cite"><div>I'm also concerned about the limitation for NIO only, as we made it<br>plugable to use NIO or OIO. So whats the best thing to make sure to only<br>use it with NIO ? Check the instanceof ServerSocketChannelFactory and<br>only use it if its an instance of NioServerSocketChannelFactory ?<br></div></blockquote>That's a good idea.<br><br>HTH<br><br>--<br>Trustin Lee (<a href="http://gleamynode.net">http://gleamynode.net</a>/)<br></div></blockquote><br>_______________________________________________<br>netty-users mailing list<br><a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a><br></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>