fixing broken links for window size and max concurrent streams

This commit is contained in:
talksik
2023-06-11 16:49:46 -07:00
parent 1934825ff5
commit c4e15b6f47
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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<Option<u32>>) -> Self {
Endpoint {
init_stream_window_size: sz.into(),
+2 -2
View File
@@ -194,7 +194,7 @@ impl<L> Server<L> {
///
/// 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<Option<u32>>) -> Self {
Server {
@@ -219,7 +219,7 @@ impl<L> Server<L> {
///
/// 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<Option<u32>>) -> Self {
Server {