diff --git a/.gitignore b/.gitignore index 27ae85b..745a35d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,11 @@ target Cargo.lock h2spec +.history # These are backup files generated by rustfmt **/*.rs.bk # Files generated by honggfuzz hfuzz_target -hfuzz_workspace +hfuzz_workspace \ No newline at end of file diff --git a/src/client.rs b/src/client.rs index a6c6498..cb3ace6 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1022,6 +1022,12 @@ impl Builder { self } + /// Sets the header table size + pub fn header_table_size(&mut self, size: u32) -> &mut Self { + self.settings.set_header_table_size(Some(size)); + self + } + /// Sets the first stream ID to something other than 1. #[cfg(feature = "unstable")] pub fn initial_stream_id(&mut self, stream_id: u32) -> &mut Self {