You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c98be3
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(transport): extract shared stream state handling logic in loopyWriter.processData() (#9125)
Fixes: #9117
Refactors the duplicated post write stream state handling in
`loopyWriter.processData()` present in
`internal/transport/controlbuf.go` into a shared helper
`l.updateStreamAfterWrite()`. Both empty and non empty DATA frame paths
now share the same stream state handling logic.
This change also adds the stream quota check `(int(l.oiws) -
str.bytesOutStanding)` to the empty frame path. This is safe because
empty DATA frames send 0 bytes, so `bytesOutStanding` doesn't change.
RELEASE NOTES: n/a
0 commit comments