From 7acbe4027e1327a2910a9a76b297941b8a27d2e5 Mon Sep 17 00:00:00 2001 From: ump45nose <52391318+ump45nose@users.noreply.github.com> Date: Tue, 20 Oct 2026 02:48:10 +0800 Subject: [PATCH] docs(h1): point max_buf_size keep-in-sync note at the real Builder path --- src/proto/h1/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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