Closed MangoIV closed 5 months ago
mmh, it appears the guard is justified by
A sender MUST NOT allow a flow-control window to exceed 231-1 octets. If a sender receives a WINDOW_UPDATE that causes a flow-control window to exceed this maximum, it MUST terminate either the stream or the connection, as appropriate. For streams, the sender sends a RST_STREAM with an error code of FLOW_CONTROL_ERROR; for the connection, a GOAWAY frame with an error code of FLOW_CONTROL_ERROR is sent.
@MangoIV Did you find the answer by yourself? If so, please close this issue.
May bad. Never mind. This is already closed.
Hi! I have a question, as follows:
FrameWindowUpdate
(which I assume corresponds to https://datatracker.ietf.org/doc/html/rfc9113#name-window_update) triggers anincreaseStreamWindowSize strm n
increaseStreamWindowSize strm n
does the following check:this raises following question:
so I would expect there to be a check on the legal range, i.e. a guard on the
n
which is the actual size of the increment, no?edit: it appears
decodeWindowUpdateFrame
does this.Thanks in advance!