16 references to InvalidFrameLength
InMemory.FunctionalTests (9)
Http2\Http2ConnectionTests.cs (8)
1559AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 2659AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 3161AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 3505AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 3837AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 3858AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 4144AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength); 4488AssertConnectionEndReason(ConnectionEndReason.InvalidFrameLength);
Http3\Http3ConnectionTests.cs (1)
389MetricsAssert.Equal(ConnectionEndReason.InvalidFrameLength, Http3Api.ConnectionTags);
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http2\Http2Connection.cs (3)
783return new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorUnexpectedFrameLength(_incomingFrame.Type, expectedLength), Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.InvalidFrameLength); 995throw new Http2ConnectionErrorException(CoreStrings.Http2ErrorSettingsAckLengthNotZero, Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.InvalidFrameLength); 1003throw new Http2ConnectionErrorException(CoreStrings.Http2ErrorSettingsLengthNotMultipleOfSix, Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.InvalidFrameLength);
Internal\Http3\Http3ControlStream.cs (2)
359throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3ControlStreamFrameTooLarge(http3RawFrame.FormattedType), Http3ErrorCode.FrameError, ConnectionEndReason.InvalidFrameLength); 499throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3ControlStreamFrameTooLarge(Http3Formatting.ToFormattedType(incomingFrame.Type)), Http3ErrorCode.FrameError, ConnectionEndReason.InvalidFrameLength);
Internal\Infrastructure\KestrelMetrics.cs (1)
485ConnectionEndReason.InvalidFrameLength => "invalid_frame_length",
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
86SharedStrings.FormatHttp2ErrorUnexpectedFrameLength(frame.Type, expectedLength: extendedHeaderLength), Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.InvalidFrameLength);