From c06418cb6ed81cbe8ef0014b913ee162ac07e1cf Mon Sep 17 00:00:00 2001
From: fhanik org.apache.coyote.http11.Http11Protocol - same as HTTP/1.1
org.apache.coyote.http11.Http11NioProtocol - non blocking Java connector
org.apache.coyote.http11.Http11AprProtocol - the APR connector.
- The configuration for both Java connectors are identical, both for http and https.
- For more information on the APR connector, please
+ Take a look at our Connector Comparison chart.
+ The configuration for both Java connectors are identical, both for http and https.
+ For more information on the APR connector and APR specific SSL settings please
visit the APR documentation
+
The NIO connector exposes all the low level socket properties that can be used to tune the connector.
+ Most of these attributes are directly linked to the socket implementation in the JDK so you can find out
+ about the actual meaning in the JDK API documentation.
+ NoteOn some JDK versions, setTrafficClass causes a problem, a work around for this is to add
+ the -Djava.net.preferIPv4Stack=true value to your command line
Boolean value, whether to use direct ByteBuffers or java mapped ByteBuffers. Default is true
The socket receive buffer (SO_RCVBUF) size in bytes. Default value is 25188
+The socket send buffer (SO_SNDBUF) size in bytes. Default value is 43800
+The Nio connector uses a class called NioChannel that holds elements linked to a socket. + To reduce garbage collection, the Nio connector caches these channel objects. + This value specifies the size of this cache. + The default value is 500, and represents that the cache will hold 500 NioChannel objects. + Other values are -1. unlimited cache, and 0, no cache.
+The NioChannel pool can also be size based, not used object based. The size is calculated as follows:
+ NioChannel buffer size = read buffer size + write buffer size
+ SecureNioChannel buffer size = application read buffer size + application write buffer size + network read buffer size + network write buffer size
+ The value is in bytes, the default value is 1024*1024*100 (100MB)
+
same as the standard setting tcpNoDelay. Default value is false
Boolean value for the socket's keep alive setting (SO_KEEPALIVE). Default is false.
Boolean value for the socket OOBINLINE setting. Default value is true
Boolean value for the sockets reuse address option (SO_REUSEADDR). Default value is true
Boolean value for the sockets so linger option (SO_LINGER). Default value is true.
+ This option is paired with the soLingerTime value.
Value in seconds for the sockets so linger option (SO_LINGER). Default value is 25 seconds.
+ This option is paired with the soLinger value.
Value in milliseconds for the sockets read timeout (SO_TIMEOUT). Default value is 5000 milliseconds.
Value between 0 and 255 for the traffic class on the socket, 0x04 | 0x08 | 0x010
The first value for the performance settings. Default is 1, see Socket Performance Options
+The second value for the performance settings. Default is 0, see Socket Performance Options
+The third value for the performance settings. Default is 1, see Socket Performance Options
+You can enable SSL support for a particular instance of this @@ -514,8 +587,26 @@ SSL Configuration HOW-TO.
Below is a small chart that shows how the connectors differentiate.
+