Added documentation about the NIO connector and clarified how the protocol attribute...
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 4 Aug 2006 21:38:22 +0000 (21:38 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 4 Aug 2006 21:38:22 +0000 (21:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@428895 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/config/http.xml

index 5837471..8121ba5 100644 (file)
     </attribute>
 
     <attribute name="protocol" required="false">
-      <p>This attribute value must be <code>HTTP/1.1</code> to use the HTTP
-      handler, which is the default.</p>
+      <p>
+        Sets the protocol to handle incoming traffic.
+        The default value is <code>HTTP/1.1</code> and configures the 
+        <code>org.apache.coyote.http11.Http11Protocol</code>. This is the blocking Java connector.<br/>
+        If the <code>PATH(Windows)</code> or <code>LD_LIBRARY_PATH(on most unix system)</code>  
+        environment variables contain the Tomcat native library, the APR connector
+        will automatically be configured. Please be advised that the APR connector has different
+        settings for HTTPS than the default Java connector.<br/>
+        Other values for this attribute are, but not limited to:<br/>
+        <code>org.apache.coyote.http11.Http11Protocol</code> - same as HTTP/1.1<br/>
+        <code>org.apache.coyote.http11.Http11NioProtocol</code> - non blocking Java connector<br/>
+        <code>org.apache.coyote.http11.Http11AprProtocol</code> - the APR connector.<br/>
+        The configuration for both Java connectors are identical, both for http and https. 
+        For more information on the APR connector, please 
+        visit the <a href="../apr.html">APR documentation</a>
+      </p>
     </attribute>
 
     <attribute name="proxyName" required="false">