From 3b0901f751f54dc4ae6fda72a38713888b559f36 Mon Sep 17 00:00:00 2001 From: Lexman42 Date: Fri, 10 May 2019 10:08:48 -0700 Subject: [PATCH] adds documentation for configurable listener http_* values --- .../docs/configuration/listener/tcp.html.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/website/source/docs/configuration/listener/tcp.html.md b/website/source/docs/configuration/listener/tcp.html.md index e301ece6a99a..9f6a8f062244 100644 --- a/website/source/docs/configuration/listener/tcp.html.md +++ b/website/source/docs/configuration/listener/tcp.html.md @@ -35,6 +35,24 @@ advertise the correct address to other nodes. they need to hop through a TCP load balancer or some other scheme in order to talk. +- `http_idle_timeout` `(string: "5m")` - Specifies the maximum amount of time to + wait for the next request when keep-alives are enabled. If `http_idle_timeout` + is zero, the value of `http_read_timeout` is used. If both are zero, the value of `http_read_header_timeout` is used. This is specified using a label suffix like + `"30s"` or `"1h"`. + +- `http_read_header_timeout` `(string: "10s")` - Specifies the amount of time + allowed to read request headers. This is specified using a label suffix like + `"30s"` or `"1h"`. + +- `http_read_timeout` `(string: "30s")` - Specifies the maximum duration for + reading the entire request, including the body. This is specified using a + label suffix like `"30s"` or `"1h"`. + +- `http_write_timeout` `string: "0")` - Specifies the maximum duration before + timing out writes of the response and is reset whenever a new request's header + is read. The default value of `"0"` means inifinity. This is specified using a + label suffix like `"30s"` or `"1h"`. + - `max_request_size` `(int: 33554432)` – Specifies a hard maximum allowed request size, in bytes. Defaults to 32 MB. Specifying a number less than or equal to `0` turns off limiting altogether.