adjustWindow sends out extra window update over the initial window size of stream if the application is requesting data larger in size than the window.
(s *ServerStream, n uint32)
| 720 | // of stream if the application is requesting data larger in size than |
| 721 | // the window. |
| 722 | func (t *http2Server) adjustWindow(s *ServerStream, n uint32) { |
| 723 | if w := s.fc.maybeAdjust(n); w > 0 { |
| 724 | t.controlBuf.put(&outgoingWindowUpdate{streamID: s.id, increment: w}) |
| 725 | } |
| 726 | |
| 727 | } |
| 728 | |
| 729 | // updateWindow adjusts the inbound quota for the stream and the transport. |
| 730 | // Window updates will deliver to the controller for sending when |
nothing calls this directly
no test coverage detected