Skip to content

Commit

Permalink
Prepare for hyperium/hyper#3820
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Jan 1, 2025
1 parent 7bf6303 commit bf0bffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/conn/auto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ impl<E> Http2Builder<'_, E> {
/// This is not advised, as it can potentially expose servers to DOS vulnerabilities.
///
/// See <https://rustsec.org/advisories/RUSTSEC-2024-0003.html> for more information.
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 {
self.inner.http2.max_local_error_reset_streams(max);
self
}
Expand Down

0 comments on commit bf0bffc

Please sign in to comment.