Skip to content

Commit

Permalink
adds documentation for configurable listener http_* values
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexman42 committed May 10, 2019
1 parent bddf6b3 commit 3b0901f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions website/source/docs/configuration/listener/tcp.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3b0901f

Please sign in to comment.