7 references to InvalidFrameLength
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http2\Http2Connection.cs (3)
783
return new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorUnexpectedFrameLength(_incomingFrame.Type, expectedLength), Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.
InvalidFrameLength
);
995
throw new Http2ConnectionErrorException(CoreStrings.Http2ErrorSettingsAckLengthNotZero, Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.
InvalidFrameLength
);
1003
throw new Http2ConnectionErrorException(CoreStrings.Http2ErrorSettingsLengthNotMultipleOfSix, Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.
InvalidFrameLength
);
Internal\Http3\Http3ControlStream.cs (2)
359
throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3ControlStreamFrameTooLarge(http3RawFrame.FormattedType), Http3ErrorCode.FrameError, ConnectionEndReason.
InvalidFrameLength
);
499
throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3ControlStreamFrameTooLarge(Http3Formatting.ToFormattedType(incomingFrame.Type)), Http3ErrorCode.FrameError, ConnectionEndReason.
InvalidFrameLength
);
Internal\Infrastructure\KestrelMetrics.cs (1)
485
ConnectionEndReason.
InvalidFrameLength
=> "invalid_frame_length",
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
86
SharedStrings.FormatHttp2ErrorUnexpectedFrameLength(frame.Type, expectedLength: extendedHeaderLength), Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.
InvalidFrameLength
);