Author: kkolinko Date: Sat Jan 16 00:43:58 2016 New Revision: 1724904 URL: http://svn.apache.org/viewvc?rev=1724904&view=rev Log: Update comment. (From r1724903 of tomcat/tc7.0.x/trunk)
Modified: tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java Modified: tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java?rev=1724904&r1=1724903&r2=1724904&view=diff ============================================================================== --- tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java (original) +++ tomcat/tc6.0.x/branches/tomcat6-testing_20160106/test/org/apache/catalina/startup/Tomcat.java Sat Jan 16 00:43:58 2016 @@ -406,13 +406,12 @@ public class Tomcat { // if (connector != null) { // return connector; // } -// // This will load Apr connector if available, -// // default to nio. I'm having strange problems with apr -// // XXX: jfclere weird... Don't add the AprLifecycleListener then. -// // and for the use case the speed benefit wouldn't matter. -// +// +// // The same as in standard Tomcat configuration. +// // This creates an APR HTTP connector if AprLifecycleListener has been +// // configured (created) and Tomcat Native library is available. +// // Otherwise it creates a BIO HTTP connector (Http11Protocol). // connector = new Connector("HTTP/1.1"); -// // connector = new Connector("org.apache.coyote.http11.Http11Protocol"); // connector.setPort(port); // service.addConnector( connector ); // return connector; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org