Beispiel #1
0
        void ReadWindowUpdateFrame(IChannelHandlerContext ctx, IByteBuffer payload, IHttp2FrameListener listener)
        {
            int windowSizeIncrement = Http2CodecUtil.ReadUnsignedInt(payload);

            if (0u >= (uint)windowSizeIncrement)
            {
                ThrowHelper.ThrowStreamError_ReceivedWindowUpdateWithDelta0ForStream(_streamId);
            }

            listener.OnWindowUpdateRead(ctx, _streamId, windowSizeIncrement);
        }
Beispiel #2
0
 public virtual void OnWindowUpdateRead(IChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
 {
     _listener.OnWindowUpdateRead(ctx, streamId, windowSizeIncrement);
 }
 public void OnWindowUpdateRead(IChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
 {
     _logger.LogWindowsUpdate(Direction.Inbound, ctx, streamId, windowSizeIncrement);
     _listener.OnWindowUpdateRead(ctx, streamId, windowSizeIncrement);
 }