Skip to content

Commit 2e14956

Browse files
silence-codingseanmonstar
authored andcommitted
feat(h2): add max_header_list_size: rename max_header_list_size to http2_max_header_list_size
Co-authored-by: Sean McArthur <[email protected]>
1 parent 4f69d21 commit 2e14956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/conn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ impl<E> Http<E> {
524524
/// Default is currently ~16MB, but may change.
525525
#[cfg(feature = "http2")]
526526
#[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
527-
pub fn max_header_list_size(&mut self, max: u32) -> &mut Self {
527+
pub fn http2_max_header_list_size(&mut self, max: u32) -> &mut Self {
528528
self.h2_builder.max_header_list_size = max;
529529
self
530530
}

0 commit comments

Comments
 (0)