We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf6303 commit bf0bffcCopy full SHA for bf0bffc
src/server/conn/auto/mod.rs
@@ -855,7 +855,7 @@ impl<E> Http2Builder<'_, E> {
855
/// This is not advised, as it can potentially expose servers to DOS vulnerabilities.
856
///
857
/// See <https://rustsec.org/advisories/RUSTSEC-2024-0003.html> for more information.
858
- pub fn max_local_error_reset_streams(mut self, max: impl Into<Option<usize>>) -> Self {
+ pub fn max_local_error_reset_streams(&mut self, max: impl Into<Option<usize>>) -> &mut Self {
859
self.inner.http2.max_local_error_reset_streams(max);
860
self
861
}
0 commit comments