diff --git a/src/proto/h1/io.rs b/src/proto/h1/io.rs index bcd0204d2f..7f41bd3a51 100644 --- a/src/proto/h1/io.rs +++ b/src/proto/h1/io.rs @@ -19,7 +19,7 @@ pub(crate) const MINIMUM_MAX_BUFFER_SIZE: usize = INIT_BUFFER_SIZE; /// The default maximum read buffer size. If the buffer gets this big and /// a message is still not complete, a `TooLarge` error is triggered. -// Note: if this changes, update server::conn::Http::max_buf_size docs. +// Note: if this changes, update server::conn::http1::Builder::max_buf_size docs. pub(crate) const DEFAULT_MAX_BUFFER_SIZE: usize = 8192 + 4096 * 100; /// The maximum number of distinct `Buf`s to hold in a list before requiring