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 {