You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by kr...@apache.org on 2019/03/14 18:32:01 UTC
svn commit: r1855544 - in /knox: site/books/knox-0-14-0/
site/books/knox-1-0-0/ site/books/knox-1-1-0/ site/books/knox-1-2-0/
site/books/knox-1-3-0/ trunk/books/0.14.0/ trunk/books/1.0.0/
trunk/books/1.1.0/ trunk/books/1.2.0/ trunk/books/1.3.0/
Author: krisden
Date: Thu Mar 14 18:32:01 2019
New Revision: 1855544
URL: http://svn.apache.org/viewvc?rev=1855544&view=rev
Log:
KNOX-1813 - Update documentation to reflect change in default values for HttpClient connection and socket timeout to 20 sec
Modified:
knox/site/books/knox-0-14-0/user-guide.html
knox/site/books/knox-1-0-0/user-guide.html
knox/site/books/knox-1-1-0/user-guide.html
knox/site/books/knox-1-2-0/user-guide.html
knox/site/books/knox-1-3-0/user-guide.html
knox/trunk/books/0.14.0/service_config.md
knox/trunk/books/1.0.0/service_config.md
knox/trunk/books/1.1.0/config.md
knox/trunk/books/1.1.0/service_config.md
knox/trunk/books/1.2.0/config.md
knox/trunk/books/1.2.0/service_config.md
knox/trunk/books/1.3.0/config.md
knox/trunk/books/1.3.0/service_config.md
Modified: knox/site/books/knox-0-14-0/user-guide.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-14-0/user-guide.html?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/site/books/knox-0-14-0/user-guide.html (original)
+++ knox/site/books/knox-0-14-0/user-guide.html Thu Mar 14 18:32:01 2019
@@ -7525,12 +7525,12 @@ curl -ikv -u guest:guest-password -X POS
<tr>
<td>httpclient.connectionTimeout</td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
<tr>
<td>httpclient.socketTimeout</td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
</tbody>
</table>
Modified: knox/site/books/knox-1-0-0/user-guide.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-1-0-0/user-guide.html?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/site/books/knox-1-0-0/user-guide.html (original)
+++ knox/site/books/knox-1-0-0/user-guide.html Thu Mar 14 18:32:01 2019
@@ -7533,12 +7533,12 @@ curl -ikv -u guest:guest-password -X POS
<tr>
<td>httpclient.connectionTimeout</td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
<tr>
<td>httpclient.socketTimeout</td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
</tbody>
</table>
Modified: knox/site/books/knox-1-1-0/user-guide.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-1-1-0/user-guide.html?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/site/books/knox-1-1-0/user-guide.html (original)
+++ knox/site/books/knox-1-1-0/user-guide.html Thu Mar 14 18:32:01 2019
@@ -792,12 +792,12 @@ https://{gateway-host}:{gateway-port}/{g
<tr>
<td><code>gateway.httpclient.connectionTimeout</code></td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively.</td>
- <td>20s</td>
+ <td><code>20s</code></td>
</tr>
<tr>
<td><code>gateway.httpclient.socketTimeout</code></td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively.</td>
- <td>20s</td>
+ <td><code>20s</code></td>
</tr>
<tr>
<td><code>gateway.httpserver.requestBuffer</code></td>
@@ -7810,12 +7810,12 @@ curl -ikv -u guest:guest-password -X POS
<tr>
<td>httpclient.connectionTimeout </td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
<tr>
<td>httpclient.socketTimeout </td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
</tbody>
</table>
Modified: knox/site/books/knox-1-2-0/user-guide.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-1-2-0/user-guide.html?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/site/books/knox-1-2-0/user-guide.html (original)
+++ knox/site/books/knox-1-2-0/user-guide.html Thu Mar 14 18:32:01 2019
@@ -792,12 +792,12 @@ https://{gateway-host}:{gateway-port}/{g
<tr>
<td><code>gateway.httpclient.connectionTimeout</code></td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively.</td>
- <td>20s</td>
+ <td><code>20s</code></td>
</tr>
<tr>
<td><code>gateway.httpclient.socketTimeout</code></td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively.</td>
- <td>20s</td>
+ <td><code>20s</code></td>
</tr>
<tr>
<td><code>gateway.httpserver.requestBuffer</code></td>
@@ -7832,12 +7832,12 @@ curl -ikv -u guest:guest-password -X POS
<tr>
<td>httpclient.connectionTimeout </td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
<tr>
<td>httpclient.socketTimeout </td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
</tbody>
</table>
Modified: knox/site/books/knox-1-3-0/user-guide.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-1-3-0/user-guide.html?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/site/books/knox-1-3-0/user-guide.html (original)
+++ knox/site/books/knox-1-3-0/user-guide.html Thu Mar 14 18:32:01 2019
@@ -788,12 +788,12 @@ https://{gateway-host}:{gateway-port}/{g
<tr>
<td><code>gateway.httpclient.connectionTimeout</code></td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively.</td>
- <td>20s</td>
+ <td><code>20s</code></td>
</tr>
<tr>
<td><code>gateway.httpclient.socketTimeout</code></td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively.</td>
- <td>20s</td>
+ <td><code>20s</code></td>
</tr>
<tr>
<td><code>gateway.httpserver.requestBuffer</code></td>
@@ -8006,12 +8006,12 @@ curl -ikv -u guest:guest-password -X POS
<tr>
<td>httpclient.connectionTimeout </td>
<td>The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
<tr>
<td>httpclient.socketTimeout </td>
<td>The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a ‘s’ or ‘m’ suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. </td>
- <td>System Dependent</td>
+ <td>20s</td>
</tr>
</tbody>
</table>
Modified: knox/trunk/books/0.14.0/service_config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/0.14.0/service_config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/0.14.0/service_config.md (original)
+++ knox/trunk/books/0.14.0/service_config.md Thu Mar 14 18:32:01 2019
@@ -27,8 +27,8 @@ Individual services may support addition
Property | Description | Default
---------|-------------|---------
httpclient.maxConnections|The maximum number of connections that a single httpclient will maintain to a single host:port. The default is 32.|32
-httpclient.connectionTimeout|The amount of time to wait when attempting a connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | System Dependent
-httpclient.socketTimeout|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | System Dependent
+httpclient.connectionTimeout|The amount of time to wait when attempting a connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | 20s
+httpclient.socketTimeout|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | 20s
The example below demonstrates how these service level parameters are used.
Modified: knox/trunk/books/1.0.0/service_config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.0.0/service_config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.0.0/service_config.md (original)
+++ knox/trunk/books/1.0.0/service_config.md Thu Mar 14 18:32:01 2019
@@ -27,8 +27,8 @@ Individual services may support addition
Property | Description | Default
---------|-------------|---------
httpclient.maxConnections|The maximum number of connections that a single httpclient will maintain to a single host:port. The default is 32.|32
-httpclient.connectionTimeout|The amount of time to wait when attempting a connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | System Dependent
-httpclient.socketTimeout|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | System Dependent
+httpclient.connectionTimeout|The amount of time to wait when attempting a connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | 20s
+httpclient.socketTimeout|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | 20s
The example below demonstrates how these service level parameters are used.
Modified: knox/trunk/books/1.1.0/config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.1.0/config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.1.0/config.md (original)
+++ knox/trunk/books/1.1.0/config.md Thu Mar 14 18:32:01 2019
@@ -128,8 +128,8 @@ Property | Description | Default
`gateway.jdk.tls.ephemeralDHKeySize`|`jdk.tls.ephemeralDHKeySize`, is defined to customize the ephemeral DH key sizes. The minimum acceptable DH key size is 1024 bits, except for exportable cipher suites or legacy mode (`jdk.tls.ephemeralDHKeySize=legacy`)|`2048`
`gateway.threadpool.max`|The maximum concurrent requests the server will process. The default is 254. Connections beyond this will be queued.|`254`
`gateway.httpclient.maxConnections`|The maximum number of connections that a single HttpClient will maintain to a single host:port.|`32`
-`gateway.httpclient.connectionTimeout`|The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.|20s
-`gateway.httpclient.socketTimeout`|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| 20s
+`gateway.httpclient.connectionTimeout`|The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| `20s`
+`gateway.httpclient.socketTimeout`|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| `20s`
`gateway.httpserver.requestBuffer`|The size of the HTTP server request buffer in bytes|`16384`
`gateway.httpserver.requestHeaderBuffer`|The size of the HTTP server request header buffer in bytes|`8192`
`gateway.httpserver.responseBuffer`|The size of the HTTP server response buffer in bytes|`32768`
Modified: knox/trunk/books/1.1.0/service_config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.1.0/service_config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.1.0/service_config.md (original)
+++ knox/trunk/books/1.1.0/service_config.md Thu Mar 14 18:32:01 2019
@@ -27,8 +27,8 @@ Individual services may support addition
Property | Description | Default
---------|-------------|---------
httpclient.maxConnections | The maximum number of connections that a single httpclient will maintain to a single host:port. | 32
-httpclient.connectionTimeout | The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | System Dependent
-httpclient.socketTimeout | The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | System Dependent
+httpclient.connectionTimeout | The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | 20s
+httpclient.socketTimeout | The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | 20s
The example below demonstrates how these service level parameters are used.
Modified: knox/trunk/books/1.2.0/config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.2.0/config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.2.0/config.md (original)
+++ knox/trunk/books/1.2.0/config.md Thu Mar 14 18:32:01 2019
@@ -128,8 +128,8 @@ Property | Description | Default
`gateway.jdk.tls.ephemeralDHKeySize`|`jdk.tls.ephemeralDHKeySize`, is defined to customize the ephemeral DH key sizes. The minimum acceptable DH key size is 1024 bits, except for exportable cipher suites or legacy mode (`jdk.tls.ephemeralDHKeySize=legacy`)|`2048`
`gateway.threadpool.max`|The maximum concurrent requests the server will process. The default is 254. Connections beyond this will be queued.|`254`
`gateway.httpclient.maxConnections`|The maximum number of connections that a single HttpClient will maintain to a single host:port.|`32`
-`gateway.httpclient.connectionTimeout`|The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.|20s
-`gateway.httpclient.socketTimeout`|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| 20s
+`gateway.httpclient.connectionTimeout`|The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.|`20s`
+`gateway.httpclient.socketTimeout`|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| `20s`
`gateway.httpserver.requestBuffer`|The size of the HTTP server request buffer in bytes|`16384`
`gateway.httpserver.requestHeaderBuffer`|The size of the HTTP server request header buffer in bytes|`8192`
`gateway.httpserver.responseBuffer`|The size of the HTTP server response buffer in bytes|`32768`
Modified: knox/trunk/books/1.2.0/service_config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.2.0/service_config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.2.0/service_config.md (original)
+++ knox/trunk/books/1.2.0/service_config.md Thu Mar 14 18:32:01 2019
@@ -27,8 +27,8 @@ Individual services may support addition
Property | Description | Default
---------|-------------|---------
httpclient.maxConnections | The maximum number of connections that a single httpclient will maintain to a single host:port. | 32
-httpclient.connectionTimeout | The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | System Dependent
-httpclient.socketTimeout | The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | System Dependent
+httpclient.connectionTimeout | The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | 20s
+httpclient.socketTimeout | The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | 20s
The example below demonstrates how these service level parameters are used.
Modified: knox/trunk/books/1.3.0/config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.3.0/config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.3.0/config.md (original)
+++ knox/trunk/books/1.3.0/config.md Thu Mar 14 18:32:01 2019
@@ -127,8 +127,8 @@ Property | Description | Default
`gateway.jdk.tls.ephemeralDHKeySize`|`jdk.tls.ephemeralDHKeySize`, is defined to customize the ephemeral DH key sizes. The minimum acceptable DH key size is 1024 bits, except for exportable cipher suites or legacy mode (`jdk.tls.ephemeralDHKeySize=legacy`)|`2048`
`gateway.threadpool.max`|The maximum concurrent requests the server will process. The default is 254. Connections beyond this will be queued.|`254`
`gateway.httpclient.maxConnections`|The maximum number of connections that a single HttpClient will maintain to a single host:port.|`32`
-`gateway.httpclient.connectionTimeout`|The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.|20s
-`gateway.httpclient.socketTimeout`|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| 20s
+`gateway.httpclient.connectionTimeout`|The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| `20s`
+`gateway.httpclient.socketTimeout`|The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively.| `20s`
`gateway.httpserver.requestBuffer`|The size of the HTTP server request buffer in bytes|`16384`
`gateway.httpserver.requestHeaderBuffer`|The size of the HTTP server request header buffer in bytes|`8192`
`gateway.httpserver.responseBuffer`|The size of the HTTP server response buffer in bytes|`32768`
Modified: knox/trunk/books/1.3.0/service_config.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/1.3.0/service_config.md?rev=1855544&r1=1855543&r2=1855544&view=diff
==============================================================================
--- knox/trunk/books/1.3.0/service_config.md (original)
+++ knox/trunk/books/1.3.0/service_config.md Thu Mar 14 18:32:01 2019
@@ -27,8 +27,8 @@ Individual services may support addition
Property | Description | Default
---------|-------------|---------
httpclient.maxConnections | The maximum number of connections that a single httpclient will maintain to a single host:port. | 32
-httpclient.connectionTimeout | The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | System Dependent
-httpclient.socketTimeout | The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | System Dependent
+httpclient.connectionTimeout | The amount of time to wait when attempting a connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent. | 20s
+httpclient.socketTimeout | The amount of time to wait for data on a socket before aborting the connection. The natural unit is milliseconds, but a 's' or 'm' suffix may be used for seconds or minutes respectively. The default timeout is system dependent but is likely to be indefinite. | 20s
The example below demonstrates how these service level parameters are used.