25 references to ProtocolError
InMemory.FunctionalTests (12)
Http3\Http3StreamTests.cs (9)
81Http3ErrorCode.ProtocolError, 99Http3ErrorCode.ProtocolError, 270Http3ErrorCode.ProtocolError, 287Http3ErrorCode.ProtocolError, 331Http3ErrorCode.ProtocolError, 481Http3ErrorCode.ProtocolError, 501Http3ErrorCode.ProtocolError, 521Http3ErrorCode.ProtocolError, 701Http3ErrorCode.ProtocolError,
Http3\WebTransport\WebTransportHandshakeTests.cs (3)
87((long)Http3ErrorCode.ProtocolError), 96((long)Http3ErrorCode.ProtocolError), 104((long)Http3ErrorCode.ProtocolError),
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http3\Http3Formatting.cs (1)
30Http3ErrorCode.ProtocolError => "H3_GENERAL_PROTOCOL_ERROR",
Internal\Http3\Http3Stream.cs (12)
701Abort(streamError, Http3ErrorCode.ProtocolError); 749throw new Http3StreamErrorException(CoreStrings.Http3StreamErrorLessDataThanLength, Http3ErrorCode.ProtocolError); 854throw new Http3StreamErrorException(CoreStrings.Http3MethodMustBeConnectWhenUsingProtocolPseudoHeader, Http3ErrorCode.ProtocolError); 859throw new Http3StreamErrorException(CoreStrings.Http3MissingAuthorityOrPathPseudoHeaders, Http3ErrorCode.ProtocolError); 919throw new Http3StreamErrorException(CoreStrings.Http3StreamErrorMoreDataThanLength, Http3ErrorCode.ProtocolError); 1026Abort(new ConnectionAbortedException(CoreStrings.Http3ErrorConnectMustNotSendSchemeOrPath), Http3ErrorCode.ProtocolError); 1046Abort(new ConnectionAbortedException(str), Http3ErrorCode.ProtocolError); 1097Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1105Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1145Abort(new ConnectionAbortedException(CoreStrings.FormatBadRequest_InvalidHostHeader_Detail(hostText)), Http3ErrorCode.ProtocolError); 1158Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1197Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError);