From 2ccf8dd280c2a0e345e68548e27873e0cd19b039 Mon Sep 17 00:00:00 2001 From: Justin Mayhew Date: Sun, 28 Jun 2020 13:59:11 -0300 Subject: [PATCH] Fix calculation in FlowControl documentation --- src/share.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share.rs b/src/share.rs index eb071dc..3249e55 100644 --- a/src/share.rs +++ b/src/share.rs @@ -173,7 +173,7 @@ pub struct RecvStream { /// /// * A new stream is activated. The receive window is initialized to 1024 (the /// value of the initial window size for this connection). -/// * A `DATA` frame is received containing a payload of 400 bytes. +/// * A `DATA` frame is received containing a payload of 600 bytes. /// * The receive window size is reduced to 424 bytes. /// * [`release_capacity`] is called with 200. /// * The receive window size is now 624 bytes. The peer may send no more than