We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
http2::builder::max_header_list_size
1 parent aa90ce5 commit 30f38c8Copy full SHA for 30f38c8
src/client/legacy/client.rs
@@ -1387,6 +1387,16 @@ impl Builder {
1387
self
1388
}
1389
1390
+ /// Sets the max size of received header frames for HTTP2.
1391
+ ///
1392
+ /// Default is currently 16KB, but can change.
1393
+ #[cfg(feature = "http2")]
1394
+ #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
1395
+ pub fn http2_max_header_list_size(&mut self, max: u32) -> &mut Self {
1396
+ self.h2_builder.max_header_list_size(max);
1397
+ self
1398
+ }
1399
+
1400
/// Sets an interval for HTTP2 Ping frames should be sent to keep a
1401
/// connection alive.
1402
///
0 commit comments