Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Sapin <simon@apollographql.com>
  • Loading branch information
IvanGoncharov and SimonSapin authored Nov 14, 2024
1 parent 1d0bf1f commit 6837adf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apollo-router/src/plugins/limits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub(crate) struct Config {

/// Limit the maximum buffer size for the HTTP1 connection.
///
/// Default is ~400kb.
/// Default is ~400 kB.
#[schemars(with = "Option<String>", default)]
pub(crate) experimental_http1_max_request_buf_size: Option<ByteSize>,
}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/router/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ If router receives more headers than the buffer size, it responds to the client

##### `experimental_http1_max_request_buf_size`

Limit the maximum buffer size for the HTTP1 connection. Default is ~400kb.
Limit the maximum buffer size for the HTTP1 connection. Default is ~400 kB.

#### Parser-based limits

Expand Down
2 changes: 1 addition & 1 deletion docs/source/routing/security/request-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ If router receives more headers than the buffer size, it responds to the client

### `experimental_http1_max_request_buf_size`

Limit the maximum buffer size for the HTTP1 connection. Default is ~400kb.
Limit the maximum buffer size for the HTTP1 connection. Default is ~400 kB.

## Parser-based limits

Expand Down

0 comments on commit 6837adf

Please sign in to comment.