From c4e15b6f47e21c568ca2bccb22cd66a679d3f2c6 Mon Sep 17 00:00:00 2001 From: talksik Date: Sun, 11 Jun 2023 16:49:46 -0700 Subject: [PATCH] fixing broken links for window size and max concurrent streams --- tonic/src/transport/channel/endpoint.rs | 2 +- tonic/src/transport/server/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tonic/src/transport/channel/endpoint.rs b/tonic/src/transport/channel/endpoint.rs index 844add0..322d768 100644 --- a/tonic/src/transport/channel/endpoint.rs +++ b/tonic/src/transport/channel/endpoint.rs @@ -208,7 +208,7 @@ impl Endpoint { /// /// Default is 65,535 /// - /// [spec]: https://http2.github.io/http2-spec/#SETTINGS_INITIAL_WINDOW_SIZE + /// [spec]: https://httpwg.org/specs/rfc9113.html#InitialWindowSize pub fn initial_stream_window_size(self, sz: impl Into>) -> Self { Endpoint { init_stream_window_size: sz.into(), diff --git a/tonic/src/transport/server/mod.rs b/tonic/src/transport/server/mod.rs index 37b8c2b..dddc338 100644 --- a/tonic/src/transport/server/mod.rs +++ b/tonic/src/transport/server/mod.rs @@ -194,7 +194,7 @@ impl Server { /// /// Default is 65,535 /// - /// [spec]: https://http2.github.io/http2-spec/#SETTINGS_INITIAL_WINDOW_SIZE + /// [spec]: https://httpwg.org/specs/rfc9113.html#InitialWindowSize #[must_use] pub fn initial_stream_window_size(self, sz: impl Into>) -> Self { Server { @@ -219,7 +219,7 @@ impl Server { /// /// Default is no limit (`None`). /// - /// [spec]: https://http2.github.io/http2-spec/#SETTINGS_MAX_CONCURRENT_STREAMS + /// [spec]: https://httpwg.org/specs/rfc9113.html#n-stream-concurrency #[must_use] pub fn max_concurrent_streams(self, max: impl Into>) -> Self { Server {