https://issues.apache.org/bugzilla/show_bug.cgi?id=45154


Filip Hanik <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Filip Hanik <[EMAIL PROTECTED]>  2008-08-21 16:15:10 PST ---

Hi Mr McClain,
the benefit of sendfile is that you can transfer data from one channel to
another without reading the data into the java heap.
this is not possible with SSL, since you have to do the encryption in memory,
so the effort is wasted, and doing it this way, you will be wasting poller CPU
cycles on SSL encryption, potentially slowing down the system's reaction time
to IO events.

so the transferTo is supposed to read from the one buffer to another without
reading data into memory (the java heap), this effort doesn't work with NIO
ssl.

what would have to be done here, is that we moved the send file to a separate
thread, but it still wouldn't be a true send file.

Filip


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to