11 instantiations of Http2StreamErrorException
InMemory.FunctionalTests (4)
Http2\Http2StreamTests.cs (4)
1162var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1197var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1233var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1269var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR);
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http2\Http2Connection.cs (5)
1166throw new Http2StreamErrorException(_incomingFrame.StreamId, CoreStrings.Http2StreamAborted, Http2ErrorCode.STREAM_CLOSED); 1171throw new Http2StreamErrorException(_incomingFrame.StreamId, CoreStrings.Http2ErrorWindowUpdateSizeInvalid, Http2ErrorCode.FLOW_CONTROL_ERROR); 1302throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.HttpErrorMissingMandatoryPseudoHeaderFields, Http2ErrorCode.PROTOCOL_ERROR); 1315throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.Http2ErrorMaxStreams, Http2ErrorCode.REFUSED_STREAM); 1340throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.Http2TellClientToCalmDown, Http2ErrorCode.ENHANCE_YOUR_CALM);
Internal\Http2\Http2Stream.cs (2)
494throw new Http2StreamErrorException(StreamId, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 539throw new Http2StreamErrorException(StreamId, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR);
14 references to Http2StreamErrorException
InMemory.FunctionalTests (8)
Http2\Http2StreamTests.cs (8)
1162var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1166Assert.IsType<Http2StreamErrorException>(thrownEx.InnerException); 1197var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1201Assert.IsType<Http2StreamErrorException>(thrownEx.InnerException); 1233var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1237Assert.IsType<Http2StreamErrorException>(thrownEx.InnerException); 1269var expectedError = new Http2StreamErrorException(1, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 1273Assert.IsType<Http2StreamErrorException>(thrownEx.InnerException);
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http2\Http2Connection.cs (4)
344catch (Http2StreamErrorException ex) 1240catch (Http2StreamErrorException) 1264catch (Http2StreamErrorException) 1343catch (Http2StreamErrorException)
Internal\Infrastructure\KestrelTrace.Http2.cs (2)
17public void Http2StreamError(string connectionId, Http2StreamErrorException ex) 109public static partial void Http2StreamError(ILogger logger, string connectionId, Http2StreamErrorException ex);