Skip to content

Commit bf0bffc

Browse files
committed
Prepare for hyperium/hyper#3820
1 parent 7bf6303 commit bf0bffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/conn/auto/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ impl<E> Http2Builder<'_, E> {
855855
/// This is not advised, as it can potentially expose servers to DOS vulnerabilities.
856856
///
857857
/// 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 {
858+
pub fn max_local_error_reset_streams(&mut self, max: impl Into<Option<usize>>) -> &mut Self {
859859
self.inner.http2.max_local_error_reset_streams(max);
860860
self
861861
}

0 commit comments

Comments
 (0)