Skip to content

Commit

Permalink
Fix documentation for max_request_body_size (#11074)
Browse files Browse the repository at this point in the history
#### Description

Fix documentation for max_request_body_size 

#### Link to tracking issue
Fixes #11066
  • Loading branch information
ntkme authored Sep 6, 2024
1 parent ec5d94a commit 35024cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/confighttp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ will not be enabled.
header, allowing clients to cache the response to CORS preflight requests. If
not set, browsers use a default of 5 seconds.
- `endpoint`: Valid value syntax available [here](https://github.com/grpc/grpc/blob/master/doc/naming.md)
- `max_request_body_size`: configures the maximum allowed body size in bytes for a single request. Default: `0` (no restriction)
- `max_request_body_size`: configures the maximum allowed body size in bytes for a single request. Default: `20971520` (20MiB)
- `compression_algorithms`: configures the list of compression algorithms the server can accept. Default: ["", "gzip", "zstd", "zlib", "snappy", "deflate"]
- [`tls`](../configtls/README.md)
- [`auth`](../configauth/README.md)
Expand Down
2 changes: 1 addition & 1 deletion receiver/otlpreceiver/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Config defines configuration for OTLP receiver.
| endpoint | string | localhost:4318 | Endpoint configures the listening address for the server. |
| tls | [configtls-TLSServerSetting](#configtls-tlsserversetting) | <no value> | TLSSetting struct exposes TLS client configuration. |
| cors | [confighttp-CORSConfig](#confighttp-corsconfig) | <no value> | CORSConfig configures a receiver for HTTP cross-origin resource sharing (CORS). |
| max_request_body_size | int | 0 | MaxRequestBodySize configures the maximum allowed body size in bytes for a single request. The default `0` means there's no restriction |
| max_request_body_size | int | 20971520 | MaxRequestBodySize configures the maximum allowed body size in bytes for a single request. The default `20971520` means 20MiB |

### confighttp-CORSConfig

Expand Down

0 comments on commit 35024cf

Please sign in to comment.