示例#1
0
        private void OnStreamDataBlockedFrame(Frame frame)
        {
            StreamDataBlockedFrame sdbf = (StreamDataBlockedFrame)frame;

            if (_streams.ContainsKey(sdbf.ConvertedStreamId.Id) == false)
            {
                return;
            }
            QuicStream stream = _streams[sdbf.ConvertedStreamId.Id];

            stream.ProcessStreamDataBlocked(sdbf);

            // Remove the stream from the connection
            _streams.Remove(sdbf.ConvertedStreamId.Id);
        }