Skip to content

Commit

Permalink
feat(h2): add max_header_list_size: rename max_header_list_size to ht…
Browse files Browse the repository at this point in the history
…tp2_max_header_list_size

Co-authored-by: Sean McArthur <sean@seanmonstar.com>
  • Loading branch information
2 people authored and silence committed May 13, 2022
1 parent 4f69d21 commit 2e14956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/conn.rs
Expand Up @@ -524,7 +524,7 @@ impl<E> Http<E> {
/// Default is currently ~16MB, but may change.
#[cfg(feature = "http2")]
#[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
pub fn max_header_list_size(&mut self, max: u32) -> &mut Self {
pub fn http2_max_header_list_size(&mut self, max: u32) -> &mut Self {
self.h2_builder.max_header_list_size = max;
self
}
Expand Down

0 comments on commit 2e14956

Please sign in to comment.