> From: Hoa Doan [mailto:[EMAIL PROTECTED] > Subject: RE: SSL on Tomcat 5 problem. > > But for curiosity what is tcnative-1.dll used for?
It's essentially the same code that httpd uses to handle HTTP traffic, written in C. Since it's a bit closer to the comm hardware it provides somewhat better throughput than the pure Java HTTP and AJP connectors in Tomcat 5.5. When employed for HTTPS, it's noticeably faster, since it uses the native code OpenSSL for encryption, rather than Sun's JSSE logic. It also reduces the number of threads required for persistent HTTP connections (using keep-alives), since it employs socket polling rather than dedicated threads for that purpose (the NIO connector in Tomcat 6 also uses a poll/select mechanism to avoid dedicated threads). Whether or not the additional complexity and reduced portability is worth the performance delta is entirely dependent on your workload and environment. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]