From b9afe2e8c17126561e282e7497ec055bf95789a9 Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 24 Apr 2024 23:01:15 +0800 Subject: [PATCH] fix compilation Signed-off-by: tison --- src/client/legacy/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/legacy/client.rs b/src/client/legacy/client.rs index 520f48b..0e2cae0 100644 --- a/src/client/legacy/client.rs +++ b/src/client/legacy/client.rs @@ -1300,7 +1300,7 @@ impl Builder { &mut self, max: impl Into>, ) -> &mut Self { - self.h2_builder.max_pending_accept_reset_streams = max.into(); + self.h2_builder.max_pending_accept_reset_streams(max.into()); self }