25 references to ProtocolError
InMemory.FunctionalTests (12)
Http3\Http3StreamTests.cs (9)
81
Http3ErrorCode.
ProtocolError
,
99
Http3ErrorCode.
ProtocolError
,
270
Http3ErrorCode.
ProtocolError
,
287
Http3ErrorCode.
ProtocolError
,
331
Http3ErrorCode.
ProtocolError
,
481
Http3ErrorCode.
ProtocolError
,
501
Http3ErrorCode.
ProtocolError
,
521
Http3ErrorCode.
ProtocolError
,
701
Http3ErrorCode.
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)
30
Http3ErrorCode.
ProtocolError
=> "H3_GENERAL_PROTOCOL_ERROR",
Internal\Http3\Http3Stream.cs (12)
715
Abort(streamError, Http3ErrorCode.
ProtocolError
);
763
throw new Http3StreamErrorException(CoreStrings.Http3StreamErrorLessDataThanLength, Http3ErrorCode.
ProtocolError
);
868
throw new Http3StreamErrorException(CoreStrings.Http3MethodMustBeConnectWhenUsingProtocolPseudoHeader, Http3ErrorCode.
ProtocolError
);
873
throw new Http3StreamErrorException(CoreStrings.Http3MissingAuthorityOrPathPseudoHeaders, Http3ErrorCode.
ProtocolError
);
933
throw new Http3StreamErrorException(CoreStrings.Http3StreamErrorMoreDataThanLength, Http3ErrorCode.
ProtocolError
);
1047
Abort(new ConnectionAbortedException(CoreStrings.Http3ErrorConnectMustNotSendSchemeOrPath), Http3ErrorCode.
ProtocolError
);
1067
Abort(new ConnectionAbortedException(str), Http3ErrorCode.
ProtocolError
);
1118
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.
ProtocolError
);
1126
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.
ProtocolError
);
1166
Abort(new ConnectionAbortedException(CoreStrings.FormatBadRequest_InvalidHostHeader_Detail(hostText)), Http3ErrorCode.
ProtocolError
);
1179
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.
ProtocolError
);
1218
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.
ProtocolError
);