----- Original Message ----- > On 08/02/2012, at 9:02 PM, James Peach wrote: > > > Hi all, > > > > In getNumSSLThreads(), there is the following comment: > > > > // Set number of ssl threads equal to num of processors if > > // SSL is enabled so it will scale properly. If SSL is not > > // enabled, leave num of ssl threads one, incase a remap rule > > // requires traffic server to act as an ssl client. > > > > However, if SSL is not enabled. getNumSSLThreads() returns 0. In > > this case, SSLNetProcessor::start() will fail. > > > > So is the code wrong or is the commend wrong? > > And by way of context ... the reason that I'm interested in this area > is that I want to auto-enable SSL if a plugin needs it. In the > future, there might not be any SSL ports configured, but a plugin > might create one (in principle this could happen at any time). When > this happens, it's too late to start additional SSL threads. I was > thinking of dynamically allocating sslNetProcessor when we need to > configure an SSL port, but I'm definitely interested in other > suggestions ;)
to quote you yourself from #traffic-server: 00:22:47 < jpeach> auto is better imho +1 > J i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE