Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ec7e35

Browse files
committed
classify windowUpdate as CLSCTRL
1 parent 28b4893 commit 0ec7e35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (s *Stream) sendWindowUpdate(consumed uint32) error {
277277
binary.LittleEndian.PutUint32(hdr[:], consumed)
278278
binary.LittleEndian.PutUint32(hdr[4:], uint32(s.sess.config.MaxStreamBuffer))
279279
frame.data = hdr[:]
280-
_, err := s.sess.writeFrameInternal(frame, deadline, CLSDATA)
280+
_, err := s.sess.writeFrameInternal(frame, deadline, CLSCTRL)
281281
return err
282282
}
283283

0 commit comments

Comments
 (0)