Skip to content

Commit 53b8372

Browse files
authored
docs(http2): change rfc7540 to rfc9113 (#3277)
Closes #3273
1 parent a45d5d5 commit 53b8372

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/client/conn/http2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ where
277277
///
278278
/// If not set, hyper will use a default.
279279
///
280-
/// [spec]: https://http2.github.io/http2-spec/#SETTINGS_INITIAL_WINDOW_SIZE
280+
/// [spec]: https://httpwg.org/specs/rfc9113.html#SETTINGS_INITIAL_WINDOW_SIZE
281281
pub fn initial_stream_window_size(&mut self, sz: impl Into<Option<u32>>) -> &mut Self {
282282
if let Some(sz) = sz.into() {
283283
self.h2_builder.adaptive_window = false;

src/server/conn/http2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl<E> Builder<E> {
118118
///
119119
/// If not set, hyper will use a default.
120120
///
121-
/// [spec]: https://http2.github.io/http2-spec/#SETTINGS_INITIAL_WINDOW_SIZE
121+
/// [spec]: https://httpwg.org/specs/rfc9113.html#SETTINGS_INITIAL_WINDOW_SIZE
122122
pub fn initial_stream_window_size(&mut self, sz: impl Into<Option<u32>>) -> &mut Self {
123123
if let Some(sz) = sz.into() {
124124
self.h2_builder.adaptive_window = false;
@@ -173,7 +173,7 @@ impl<E> Builder<E> {
173173
///
174174
/// Default is no limit (`std::u32::MAX`). Passing `None` will do nothing.
175175
///
176-
/// [spec]: https://http2.github.io/http2-spec/#SETTINGS_MAX_CONCURRENT_STREAMS
176+
/// [spec]: https://httpwg.org/specs/rfc9113.html#SETTINGS_MAX_CONCURRENT_STREAMS
177177
pub fn max_concurrent_streams(&mut self, max: impl Into<Option<u32>>) -> &mut Self {
178178
self.h2_builder.max_concurrent_streams = max.into();
179179
self

0 commit comments

Comments
 (0)