Skip to content

Commit

Permalink
2.x: document connection-idle-timeout (#9283)
Browse files Browse the repository at this point in the history
* Add docs for connection-idle-timeout
  • Loading branch information
barchetta authored Sep 24, 2024
1 parent e37e47d commit 78aef43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/se/webserver/02_configuration.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2018, 2023 Oracle and/or its affiliates.
Copyright (c) 2018, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -85,6 +85,7 @@ Available socket configuration options:
|`enabled` |`true` |boolean |A socket can be disabled through configuration, in which case it is never opened
|`max-chunk-size` | `8192` |int |Maximal size of a chunk to read from incoming requests
|`max-payload-size` | `-1` |long |Maximal size of a request payload in bytes. If exceeded a 413 error is returned. Negative value means no limit.
|`connection-idle-timeout` | `0` |int |Timeout seconds after which any idle connection will be automatically closed. 0 means no timeout.
|`backpressure-buffer-size` |long |`5242880` |Set a maximum length of the unflushed response data sending buffer can keep without applying backpressure.
Depends on `backpressure-policy` what happens if max buffer size is reached.
Expand All @@ -108,4 +109,4 @@ Default is `LINEAR`
|`requested-uri-discovery.trusted-proxies` |link:{common-http-javadoc-base-url}/AllowList.html[`AllowList`] |{nbsp} |Assigns the settings governing the acceptance and rejection of forwarded headers from incoming requests to this socket.
This setting automatically enables discovery for the socket.
|`requested-uri-discovery.types` |`(FORWARDED, X_FORWARDED, HOST)` (See link:{javadoc-base-url-api}/SocketConfiguration.RequestedUriDiscoveryType.html[`RequestedUriDiscoveryType`]) |`FORWARDED if discovery is enabled; none otherwise` |Assigns the front-end URI discovery type(s) this socket should use. This setting automatically enables discovery for the socket.
|===
|===

0 comments on commit 78aef43

Please sign in to comment.