diff --git a/doc/configuration.txt b/doc/configuration.txt index 5f8474adf..2fbd3c50d 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -17751,10 +17751,12 @@ rfc7239_n2nn # extract 'for' field from forwarded header, extract nodename from # resulting node identifier and store the result in req.fnn http-request set-var(req.fnn) req.hdr(forwarded),rfc7239_field(for),rfc7239_n2nn - #input: "for=\"127.0.0.1:9999\"" - # output: 127.0.0.1 - #input: "for=\"_name:_port\"" - # output: "_name" + #input: "127.0.0.1:9999" + # output: 127.0.0.1 (ipv4) + #input: "[ab:cd:ff:ff:ff:ff:ff:ff]:9998" + # output: ab:cd:ff:ff:ff:ff:ff:ff (ipv6) + #input: "_name:_port" + # output: "_name" (string) rfc7239_n2np Converts RFC7239 node (provided by 'for' or 'by' 7239 header fields) @@ -17767,9 +17769,11 @@ rfc7239_n2np # resulting node identifier and store the result in req.fnp http-request set-var(req.fnp) req.hdr(forwarded),rfc7239_field(by),rfc7239_n2np #input: "by=\"127.0.0.1:9999\"" - # output: 9999 - #input: "by=\"_name:_port\"" - # output: "_port" + # output: 9999 (integer) + #input: "[ab:cd:ff:ff:ff:ff:ff:ff]:9998" + # output: 9998 (integer) + #input: "_name:_port" + # output: "_port" (string) add() Adds to the input value of type signed integer, and returns the