diff --git a/docs/dev/configuration.html b/docs/dev/configuration.html index 759ab56..1601a6a 100644 --- a/docs/dev/configuration.html +++ b/docs/dev/configuration.html @@ -2,7 +2,7 @@ - HAProxy version 3.1-dev13-8 - Configuration Manual + HAProxy version 3.1-dev13-67 - Configuration Manual @@ -1481,10 +1481,14 @@ bool (Fetching samples from internal states) + bs.aborted + bs.debug_str bs.id + bs.rst_code + busy-polling bytes @@ -1957,10 +1961,14 @@ format + fs.aborted + fs.debug_str fs.id + fs.rst_code + fullconn @@ -4159,14 +4167,14 @@ tune.quic.disable-udp-gso + tune.quic.frontend.default-max-window-size + tune.quic.frontend.glitches-threshold tune.quic.frontend.max-idle-timeout tune.quic.frontend.max-streams-bidi - tune.quic.frontend.max-window-size - tune.quic.max-frame-loss tune.quic.reorder-ratio @@ -4416,7 +4424,7 @@ You can use left and right arrow keys to navigate between chapters.

- Converted with haproxy-dconv v0.4.2-15 on 2024/11/18 + Converted with haproxy-dconv v0.4.2-15 on 2024/11/19

@@ -4427,7 +4435,7 @@

Configuration Manual

-

version 3.1-dev13-8

+

version 3.1-dev13-67

2024/11/15
@@ -5969,7 +5977,7 @@

2.9.< - tune.quic.frontend.glitches-threshold - tune.quic.frontend.max-idle-timeout - tune.quic.frontend.max-streams-bidi - - tune.quic.frontend.max-window-size + - tune.quic.frontend.default-max-window-size - tune.quic.max-frame-loss - tune.quic.reorder-ratio - tune.quic.retry-threshold @@ -9100,7 +9108,7 @@

3.2.< requests. The default value is 100. -
Sets the default maximum window size for the congestion controller of a
+
Sets the default maximum window size for the congestion controller of a
 single QUIC connection. The value must be written as an integer with an
 optional suffix 'k', 'm' or 'g'. It must be between 10k and 4g.
 
@@ -11737,7 +11745,7 @@ 

4.2.<

Errors defined in the http-errors section with the name <name> are imported
 in the current proxy. If no status code is specified, all error files of the
@@ -11815,7 +11823,7 @@ 

4.2.<
Arguments :
<code>    is the HTTP status code. Currently, HAProxy is capable of
           generating codes 200, 400, 401, 403, 404, 405, 407, 408, 410,
-          413, 425, 429, 500, 501, 502, 503, and 504.
+          413, 414, 425, 429, 431, 500, 501, 502, 503, and 504.
 
 <url>     it is the exact contents of the "Location" header. It may contain
           either a relative URI to an error page hosted on the same site,
@@ -11847,7 +11855,7 @@ 

4.2.<
Arguments :
<code>    is the HTTP status code. Currently, HAProxy is capable of
           generating codes 200, 400, 401, 403, 404, 405, 407, 408, 410,
-          413, 425, 429, 500, 501, 502, 503, and 504.
+          413, 414, 425, 429, 431, 500, 501, 502, 503, and 504.
 
 <url>     it is the exact contents of the "Location" header. It may contain
           either a relative URI to an error page hosted on the same site,
@@ -12735,8 +12743,8 @@ 

4.2.<
Arguments :
status <code>        is the HTTP status code. It must be specified.
                      Currently, HAProxy is capable of generating codes
-                     200, 400, 401, 403, 404, 405, 407, 408, 410, 413, 425,
-                     429, 500, 501, 502, 503, and 504.
+                     200, 400, 401, 403, 404, 405, 407, 408, 410, 413,
+                     414, 425, 429, 431, 500, 501, 502, 503, and 504.
 
 content-type <type>  is the response content type, for instance
                      "text/plain". This parameter is ignored and should be
@@ -15906,13 +15914,26 @@ 

4.2.< that for a browser, a sole cookie name without an equal sign is different from a cookie with an equal sign. + - "set-cookie-fmt <fmt>" + It is equivaliant to the option above, except the "Set-Cookie" header + will be filled with the result of the log-format string <fmt> + evaluation. Be carefull to respect the "NAME[=value]" format because no + special check are performed during the configuration parsing. + - "clear-cookie NAME[=]" A "Set-Cookie" header will be added with NAME (and optionally "="), but with the "Max-Age" attribute set to zero. This will tell the browser to delete this cookie. It is useful for instance on logout pages. It is important to note that clearing the cookie "NAME" will not remove a cookie set with "NAME=value". You have to clear the cookie "NAME=" for - that, because the browser makes the difference.

+ that, because the browser makes the difference. + + - "keep-query" + When this keyword is used in a location-based redirection, then the + query-string of the original URI, if any, will be appended to the + location. If no query-string is found, nothing is added. If the + location already contains a query-string, the original one will be + appended with the '&' delimiter.

Example: @@ -19770,21 +19791,22 @@

4.4.< * If "default-errorfiles" argument is set, the proxy's errorfiles are considered. If the "status" argument is defined, it must be one of the status code handled by HAProxy (200, 400, 403, 404, 405, 408, 410, 413, - 425, 429, 500, 501, 502, 503, and 504). The "content-type" argument, if - any, is ignored. + 414, 425, 429, 431, 500, 501, 502, 503, and 504). The "content-type" + argument, if any, is ignored. * If a specific errorfile is defined, with an "errorfile" argument, the corresponding file, containing a full HTTP response, is returned. Only the "status" argument is considered. It must be one of the status code handled - by HAProxy (200, 400, 403, 404, 405, 408, 410, 413, 425, 429, 500, 501, - 502, 503, and 504). The "content-type" argument, if any, is ignored. + by HAProxy (200, 400, 403, 404, 405, 408, 410, 413, 414, 425, 429, 431, + 500, 501, 502, 503, and 504). The "content-type" argument, if any, is + ignored. * If an http-errors section is defined, with an "errorfiles" argument, the corresponding file in the specified http-errors section, containing a full HTTP response, is returned. Only the "status" argument is considered. It must be one of the status code handled by HAProxy (200, 400, 403, 404, 405, - 408, 410, 413, 425, 429, 500, 501, 502, 503, and 504). The "content-type" - argument, if any, is ignored. + 408, 410, 413, 414, 425, 429, 431, 500, 501, 502, 503, and 504). + The "content-type" argument, if any, is ignored. * If a "file" or a "lf-file" argument is specified, the file's content is used as the response payload. If the file is not empty, its content-type @@ -21104,13 +21126,28 @@

5.1.< protocol for all connections instantiated from this listening socket. For instance, it is possible to force the http/2 on clear TCP by specifying "proto h2" on the bind line. -

quic-cc-algo { cubic | newreno | nocc }
quic-cc-algo { cubic | newreno | nocc }(<max_window>)
This is a QUIC specific setting to select the congestion control algorithm
+
quic-cc-algo { cubic[-pacing] | newreno | nocc }[(<args,...>)]
This is a QUIC specific setting to select the congestion control algorithm
 for any connection attempts to the configured QUIC listeners. They are similar
-to those used by TCP. An optional value in bytes may be used to specify the
-maximum window size. It must be greater than 10k and smaller than 4g.
+to those used by TCP.
 
 Default value: cubic
-Default window value: "tune.quic.frontend.max-window-size"
+
+It is possible to active pacing if the algorithm is compatible. This is done
+by using the suffix "-pacing" after the algorithm name. Pacing purpose is to
+smooth emission of data without burst to reduce network loss. In some
+scenario, it can significantly improve network throughput. However, it can
+also increase CPU usage if haproxy is forced to wait too long between each
+emission. Pacing support is still experimental, as such it requires
+"expose-experimental-directives".
+
+For further customization, a list of parameters can be specified after the
+algorithm token. It must be written between parenthesis, separated by a comma
+operator. Each argument is optional and can be empty if needed. Here is the
+mandatory order of each parameters :
+- maximum window size in bytes. It must be greater than 10k and smaller than
+  4g. By default "tune.quic.frontend.default-max-window-size" value is used.
+- count of datagrams to emit in a burst if pacing is activated. It must be
+  between the default value of 1 and 1024.
 
A special value "nocc" may be used to force a fixed congestion window always
 set at the maximum size. It is reserved for debugging scenarios to remove any
@@ -21377,7 +21416,22 @@ 

5.2.< Values in this format will set the weight proportional to the initial weight of a server as configured when HAProxy starts. Note that a zero weight is reported on the stats page as "DRAIN" since it has the same - effect on the server (it's removed from the LB farm). + effect on the server (it's removed from the LB farm). It is the legacy way + to set the weight of a server. Setting it with the "weight:" prefix is + preferred. + +- The string "weight:" following by an positive interger or a positive + interger percentage, with no space. If the value ends with the '%' sign, + then the new weight will be proportional to the initially weight of the + server. Otherwise, the value is considered as an absolute weight and must + be between 0 and 256. Servers which are part of a farm running a static + load-balancing algorithm have stricter limitations because the weight + cannot change once set. Thus for these servers, the only accepted values + are 0 and 100% (or 0 and the initial weight). Changes take effect + immediately, though certain LB algorithms require a certain amount of + requests to consider changes. Note that a zero weight is reported on the + stats page as "DRAIN" since it has the same effect on the server (it's + removed from the LB farm). - The string "maxconn:" followed by an integer (no space between). Values in this format will set the maxconn of a server. The maximum number of @@ -25280,6 +25334,7 @@

txn.sess_term_statestring uuid([<version>])string var(<var-name>[,<default>])undefined +wait_endboolean waiting_entitystring
Detailed list:
 
act_conn : integer
Returns the total number of active concurrent connections on the process.
@@ -25688,7 +25743,30 @@ 

section 2.8 about variables for details. -

This returns the identity of the entity that was waiting to continue its
+
wait_end : boolean
This fetch either returns true when the inspection period is over, or does
+not fetch. It is only used in ACLs, in conjunction with content analysis to
+avoid returning a wrong verdict early. It may also be used to delay some
+actions, such as a delayed reject for some special addresses. Since it either
+stops the rules evaluation or immediately returns true, it is recommended to
+use this acl as the last one in a rule. Please note that the default ACL
+"WAIT_END" is always usable without prior declaration. This test was designed
+to be used with TCP request content inspection.
+
+Examples : +
+# delay every incoming request by 2 seconds
+tcp-request inspect-delay 2s
+tcp-request content accept if WAIT_END
+
+# don't immediately tell bad guys they are rejected
+tcp-request inspect-delay 10s
+acl goodguys src 10.0.0.0/24
+acl badguys  src 10.0.1.0/24
+tcp-request content accept if goodguys
+tcp-request content reject if badguys WAIT_END
+tcp-request content reject
+
+
This returns the identity of the entity that was waiting to continue its
 processing when an error or a timeout was encountered. It may be the a rule
 or a filter for instance. However, this list is not exhaustive and the format
 of all possible entities is not forcefully documented.
@@ -26773,6 +26851,14 @@ 

+ + + + + + + + @@ -26784,6 +26870,7 @@

+ @@ -26792,7 +26879,6 @@

- @@ -26805,6 +26891,7 @@

+ @@ -26813,7 +26900,6 @@

- @@ -26826,6 +26912,7 @@

+ @@ -26834,7 +26921,6 @@

- @@ -26847,6 +26933,7 @@

+ @@ -26855,7 +26942,6 @@

- @@ -26868,6 +26954,7 @@

+ @@ -26876,7 +26963,6 @@

-
keywordoutput type
51d.all(<prop>[,<prop>*])string
bs.abortedboolean
bs.debug_str([<bitmap>])string
bs.idinteger
bs.rst_codeinteger
fs.abortedboolean
fs.debug_str([<bitmap>])string
fs.idinteger
fs.rst_codeinteger
ssl_bcboolean
ssl_bc_alg_keysizeinteger
ssl_bc_alpnstring
ssl_bc_exporter_secretstring
ssl_bc_early_exporter_secretstring
ssl_bc_curvestring
keywordoutput type
ssl_bc_errinteger
ssl_bc_err_strstring
ssl_bc_is_resumedboolean
ssl_bc_unique_idbinary
ssl_bc_server_handshake_traffic_secretstring
ssl_bc_server_traffic_secret_0string
keywordoutput type
ssl_bc_server_randombinary
ssl_bc_session_idbinary
ssl_bc_session_keybinary
ssl_c_i_dn([<entry>[,<occ>[,<format>]]])string
ssl_c_key_algstring
ssl_c_notafterstring
keywordoutput type
ssl_c_notbeforestring
ssl_c_r_dn([<entry>[,<occ>[,<format>]]])string
ssl_c_s_dn([<entry>[,<occ>[,<format>]]])string
ssl_c_sha1binary
ssl_c_sig_algstring
ssl_c_usedboolean
keywordoutput type
ssl_c_verifyinteger
ssl_c_versioninteger
ssl_f_derbinary
ssl_f_sha1binary
ssl_f_sig_algstring
ssl_f_versioninteger
keywordoutput type
ssl_fcboolean
ssl_fc_alg_keysizeinteger
ssl_fc_alpnstring
ssl_fc_cipherlist_hex([<filter_option>])string
ssl_fc_cipherlist_str([<filter_option>])string
ssl_fc_cipherlist_xxhinteger
keywordoutput type
ssl_fc_curvestring
ssl_fc_ecformats_binbinary
ssl_fc_eclist_bin([<filter_option>])binary
ssl_fc_early_exporter_secretstring
ssl_fc_errinteger
ssl_fc_err_strstring
keywordoutput type
ssl_fc_has_crtboolean
ssl_fc_has_earlyboolean
ssl_fc_has_sniboolean
ssl_fc_protocolstring
ssl_fc_protocol_hello_idinteger
ssl_fc_unique_idbinary
keywordoutput type
ssl_fc_server_handshake_traffic_secretstring
ssl_fc_server_traffic_secret_0string
ssl_fc_server_randombinary
ssl_s_derbinary
ssl_s_chain_derbinary
ssl_s_key_algstring
keywordoutput type
ssl_s_notafterstring
ssl_s_notbeforestring
ssl_s_i_dn([<entry>[,<occ>[,<format>]]])string
ssl_s_sha1binary
ssl_s_sig_algstring
ssl_s_versioninteger
keywordoutput type
txn.timer.userinteger
Detailed list:
 
51d.all(<prop>[,<prop>*]) : string
Returns values for the properties requested as a string, where values are
@@ -26896,10 +26982,67 @@ 

-

ssl_bc : boolean
Returns true when the back connection was made via an SSL/TLS transport
+
bs.aborted : boolean
Returns true is an abort was received from the server for the current
+stream. Otherwise false is returned.
+
bs.debug_str([<bitmap>]) : string
This function is meant to be used by developers during certain complex
+troubleshooting sessions. It extracts some internal states from the lower
+layers of the backend stream and connection, and arranges them as a string,
+generally in the form of a series of "name=value" delimited with spaces. The
+<bitmap> optional argument indicates what layer(s) to extract information
+from, and is an arithmetic OR (or a sum) of the following values:
+   - socket layer: 16
+   - connection layer: 8
+   - transport layer (e.g. SSL): 4
+   - mux connection: 2
+   - mux stream: 1
+
+These values might change across versions. The default value of zero is
+special and enables all layers. Please do not rely on the output of this
+function for long-term production monitoring. It is meant to evolve even
+within a stable branch, as the needs for increased details arise. One use
+typical use case is to concatenate these information at the very end of a
+log-format, along with fs.debug_str(). Example:
+
+   log-format "$HAPROXY_HTTP_LOG_FMT fs=<%[fs.debug_str]> bs=<%[bs.debug_str]>"
+
bs.id : integer
Returns the multiplexer's stream ID on the server side. It is the
+multiplexer's responsibility to return the appropriate information.
+
bs.rst_code : integer
Returns the reset code received from the server for the current stream. The
+code of the H2 RST_STREAM frame or the QUIC STOP_SENDING frame received from
+the server is returned. The sample fetch fails if no abort was received or if
+the server stream is not an H2/QUIC stream.
+
ssl_bc : boolean
Returns true when the back connection was made via an SSL/TLS transport
 layer and is locally deciphered. This means the outgoing connection was made
 to a server with the "ssl" option. It can be used in a tcp-check or an
 http-check ruleset.
+
fs.aborted : boolean
Returns true is an abort was received from the client for the current
+stream. Otherwise false is returned.
+
fs.debug_str([<bitmap>]) : string
This function is meant to be used by developers during certain complex
+troubleshooting sessions. It extracts some internal states from the lower
+layers of the frontend stream and connection, and arranges them as a string,
+generally in the form of a series of "name=value" delimited with spaces. The
+<bitmap> optional argument indicates what layer(s) to extract information
+from, and is an arithmetic OR (or a sum) of the following values:
+   - socket layer: 16
+   - connection layer: 8
+   - transport layer (e.g. SSL): 4
+   - mux connection: 2
+   - mux stream: 1
+
+These values might change across versions. The default value of zero is
+special and enables all layers. Please do not rely on the output of this
+function for long-term production monitoring. It is meant to evolve even
+within a stable branch, as the needs for increased details arise. One use
+typical use case is to concatenate these information at the very end of a
+log-format, along with bs.debug_str(). Example:
+
+   log-format "$HAPROXY_HTTP_LOG_FMT fs=<%[fs.debug_str]> bs=<%[bs.debug_str]>"
+
fs.id : integer
Returns the multiplexer's stream ID on the client side. It is the
+multiplexer's responsibility to return the appropriate information. For
+instance, on a raw TCP, 0 is always returned because there is no stream.
+
fs.rst_code : integer
Returns the reset code received from the client for the current stream. The
+code of the H2 RST_STREAM frame or the QUIC STOP_SENDING frame received from
+the client is returned. The sample fetch fails if no abort was received or
+if the client stream is not an H2/QUIC stream.
 
Returns the symmetric cipher key size supported in bits when the outgoing
 connection was made over an SSL/TLS transport layer. It can be used in a
 tcp-check or an http-check ruleset.
@@ -27549,16 +27692,8 @@ 

- - - - - - - - @@ -27585,40 +27720,7 @@

-
keywordoutput type
bs.abortedboolean
bs.debug_str([<bitmap>])string
bs.idinteger
bs.rst_codeinteger
distcc_body(<token>[,<occ>])binary
distcc_param(<token>[,<occ>])integer
fs.abortedboolean
fs.debug_str([<bitmap>])string
fs.idinteger
fs.rst_codeinteger
payload(<offset>,<length>)binary
payload_lv(<offset1>,<length>[,<offset2>])binary
req.leninteger
res.payload_lv(<offset1>,<length>[,<offset2>])binary
res.ssl_hello_typeinteger
rep_ssl_hello_typeinteger
wait_endboolean
Detailed list:
-
-bs.aborted: boolean
-  Returns true is an abort was received from the server for the current
-  stream. Otherwise false is returned.
-
bs.debug_str([<bitmap>]) : string
This function is meant to be used by developers during certain complex
-troubleshooting sessions. It extracts some internal states from the lower
-layers of the backend stream and connection, and arranges them as a string,
-generally in the form of a series of "name=value" delimited with spaces. The
-<bitmap> optional argument indicates what layer(s) to extract information
-from, and is an arithmetic OR (or a sum) of the following values:
-   - socket layer: 16
-   - connection layer: 8
-   - transport layer (e.g. SSL): 4
-   - mux connection: 2
-   - mux stream: 1
-
-These values might change across versions. The default value of zero is
-special and enables all layers. Please do not rely on the output of this
-function for long-term production monitoring. It is meant to evolve even
-within a stable branch, as the needs for increased details arise. One use
-typical use case is to concatenate these information at the very end of a
-log-format, along with fs.debug_str(). Example:
-
-   log-format "$HAPROXY_HTTP_LOG_FMT fs=<%[fs.debug_str]> bs=<%[bs.debug_str]>"
-
bs.id : integer
  Returns the multiplexer's stream ID on the server side. It is the
-  multiplexer's responsibility to return the appropriate information.
-
-bs.rst_code: integer
-  Returns the reset code received from the server for the current stream. The
-  code of the H2 RST_STREAM frame or the QUIC STOP_SENDING frame received from
-  the server is returned. The sample fetch fails if no abort was received or if
-  the server stream is not an H2/QUIC stream.
 
distcc_body(<token>[,<occ>]) : binary
Parses a distcc message and returns the body associated to occurrence #<occ>
 of the token <token>. Occurrences start at 1, and when unspecified, any may
 match though in practice only the first one is checked for now. This can be
@@ -27643,39 +27745,7 @@ 

# send large files to the big farm use_backend big_farm if { distcc_param(DOTI) gt 1000000 }

-
fs.aborted: boolean
-  Returns true is an abort was received from the client for the current
-  stream. Otherwise false is returned.
-
fs.debug_str([<bitmap>]) : string
This function is meant to be used by developers during certain complex
-troubleshooting sessions. It extracts some internal states from the lower
-layers of the frontend stream and connection, and arranges them as a string,
-generally in the form of a series of "name=value" delimited with spaces. The
-<bitmap> optional argument indicates what layer(s) to extract information
-from, and is an arithmetic OR (or a sum) of the following values:
-   - socket layer: 16
-   - connection layer: 8
-   - transport layer (e.g. SSL): 4
-   - mux connection: 2
-   - mux stream: 1
-
-These values might change across versions. The default value of zero is
-special and enables all layers. Please do not rely on the output of this
-function for long-term production monitoring. It is meant to evolve even
-within a stable branch, as the needs for increased details arise. One use
-typical use case is to concatenate these information at the very end of a
-log-format, along with bs.debug_str(). Example:
-
-   log-format "$HAPROXY_HTTP_LOG_FMT fs=<%[fs.debug_str]> bs=<%[bs.debug_str]>"
-
fs.id : integer
  Returns the multiplexer's stream ID on the client side. It is the
-  multiplexer's responsibility to return the appropriate information. For
-  instance, on a raw TCP, 0 is always returned because there is no stream.
-
-fs.rst_code: integer
-  Returns the reset code received from the client for the current stream. The
-  code of the H2 RST_STREAM frame or the QUIC STOP_SENDING frame received from
-  the client is returned. The sample fetch fails if no abort was received or
-  if the client stream is not an H2/QUIC stream.
-
payload(<offset>,<length>) : binary (deprecated)
This is an alias for "req.payload" when used in the context of a request (e.g.
+
payload(<offset>,<length>) : binary (deprecated)
This is an alias for "req.payload" when used in the context of a request (e.g.
 "stick on", "stick match"), and for "res.payload" when used in the context of
 a response such as in "stick store response".
 
payload_lv(<offset1>,<length>[,<offset2>]) : binary (deprecated)
This is an alias for "req.payload_lv" when used in the context of a request
@@ -27872,30 +27942,7 @@ 

server" lines having the "ssl" option. This is mostly used in ACL to detect presence of an SSL hello message that is supposed to contain an SSL session ID usable for stickiness. -

wait_end : boolean
This fetch either returns true when the inspection period is over, or does
-not fetch. It is only used in ACLs, in conjunction with content analysis to
-avoid returning a wrong verdict early. It may also be used to delay some
-actions, such as a delayed reject for some special addresses. Since it either
-stops the rules evaluation or immediately returns true, it is recommended to
-use this acl as the last one in a rule. Please note that the default ACL
-"WAIT_END" is always usable without prior declaration. This test was designed
-to be used with TCP request content inspection.
-
-Examples : -
-# delay every incoming request by 2 seconds
-tcp-request inspect-delay 2s
-tcp-request content accept if WAIT_END
-
-# don't immediately tell bad guys they are rejected
-tcp-request inspect-delay 10s
-acl goodguys src 10.0.0.0/24
-acl badguys  src 10.0.1.0/24
-tcp-request content accept if goodguys
-tcp-request content reject if badguys WAIT_END
-tcp-request content reject
-
-
+

7.3.6. Fetching HTTP samples (Layer 7)

It is possible to fetch samples from HTTP contents, requests and responses.
@@ -30039,9 +30086,10 @@ 

8.4.< instance during a POST request, the time already runs, and this can distort apparent response time. For this reason, it's generally wise not to trust too much this field for POST requests initiated from clients behind an - untrusted network. A value of "-1" here means that the last the response - header (empty line) was never seen, most likely because the server timeout - stroke before the server managed to process the request. + untrusted network. A value of "-1" here means that the last response header + (empty line) was never seen, most likely because the server timeout stroke + before the server managed to process the request or because the server + returned an invalid response. This timer is named %Tr as a log-format alias, and res.timer.hdr as a sample fetch. @@ -31458,7 +31506,7 @@

11

- HAProxy 3.1-dev13-8 – Configuration Manual
+ HAProxy 3.1-dev13-67 – Configuration Manual
, 2024/11/15

diff --git a/docs/dev/intro.html b/docs/dev/intro.html index cdc5761..0cb4428 100644 --- a/docs/dev/intro.html +++ b/docs/dev/intro.html @@ -2,7 +2,7 @@ - HAProxy version 3.1-dev13-8 - Starter Guide + HAProxy version 3.1-dev13-67 - Starter Guide @@ -484,7 +484,7 @@ You can use left and right arrow keys to navigate between chapters.

- Converted with haproxy-dconv v0.4.2-15 on 2024/11/18 + Converted with haproxy-dconv v0.4.2-15 on 2024/11/19

@@ -495,7 +495,7 @@

Starter Guide

-

version 3.1-dev13-8

+

version 3.1-dev13-67


@@ -2515,7 +2515,7 @@

4.4.<

- HAProxy 3.1-dev13-8 – Starter Guide
+ HAProxy 3.1-dev13-67 – Starter Guide
,

diff --git a/docs/dev/management.html b/docs/dev/management.html index ef2e849..0c4852f 100644 --- a/docs/dev/management.html +++ b/docs/dev/management.html @@ -2,7 +2,7 @@ - HAProxy version 3.1-dev13-8 - Management Guide + HAProxy version 3.1-dev13-67 - Management Guide @@ -652,7 +652,7 @@ You can use left and right arrow keys to navigate between chapters.

- Converted with haproxy-dconv v0.4.2-15 on 2024/11/18 + Converted with haproxy-dconv v0.4.2-15 on 2024/11/19

@@ -663,7 +663,7 @@

Dump all known active streams (formerly called "sessions"). Avoid doing this
+
show sess [<options>*]
Dump all known active streams (formerly called "sessions"). Avoid doing this
 on slow connections as this can be huge. This command is restricted and can
 only be issued on sockets configured for levels "operator" or "admin". Note
 that on machines with quickly recycled connections, it is possible that this
 output reports less entries than really exist because it will dump all
 existing streams up to the last one that was created before the command was
 entered; those which die in the mean time will not appear.
-
show sess <id> | older <age> | susp | all
Display a lot of internal information about the matching streams. In the
+For supported opitons, see below.
+
show sess [<id> | older <age> | susp | all] [<options>*]
Display a lot of internal information about the matching streams. In the
 first form, only the stream matching the specified stream identifier will
 be shown. This identifier is the first field at the beginning of the lines in
 the dumps of "show sess" (it corresponds to the stream pointer). In the
@@ -3959,6 +3960,12 @@ 

9.3.< documented so that it can freely evolve depending on demands. This output is meant to be interpreted while checking function strm_dump_to_buffer() in src/stream.c to figure the exact meaning of certain fields. + +It is possible to set some options to customize the dump. Here are the +supported options: + + - show-uri: Dump the transaction URI, as captured during the request + analysis. It is only displayed if it was captured.

show stat [domain <resolvers|proxy>] [{<iid>|<proxy>} <type> <sid>] \ [typed|json] [desc] [up|no-maint]
Dump statistics. The domain is used to select which statistics to print; dns
 and proxy are available for now. By default, the CSV format is used; you can
@@ -5386,7 +5393,7 @@ 

13

- HAProxy 3.1-dev13-8 – Management Guide
+ HAProxy 3.1-dev13-67 – Management Guide
,