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)
701
Abort(streamError, Http3ErrorCode.
ProtocolError
);
749
throw new Http3StreamErrorException(CoreStrings.Http3StreamErrorLessDataThanLength, Http3ErrorCode.
ProtocolError
);
854
throw new Http3StreamErrorException(CoreStrings.Http3MethodMustBeConnectWhenUsingProtocolPseudoHeader, Http3ErrorCode.
ProtocolError
);
859
throw new Http3StreamErrorException(CoreStrings.Http3MissingAuthorityOrPathPseudoHeaders, Http3ErrorCode.
ProtocolError
);
919
throw new Http3StreamErrorException(CoreStrings.Http3StreamErrorMoreDataThanLength, Http3ErrorCode.
ProtocolError
);
1026
Abort(new ConnectionAbortedException(CoreStrings.Http3ErrorConnectMustNotSendSchemeOrPath), Http3ErrorCode.
ProtocolError
);
1046
Abort(new ConnectionAbortedException(str), Http3ErrorCode.
ProtocolError
);
1097
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.
ProtocolError
);
1105
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.
ProtocolError
);
1145
Abort(new ConnectionAbortedException(CoreStrings.FormatBadRequest_InvalidHostHeader_Detail(hostText)), Http3ErrorCode.
ProtocolError
);
1158
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.
ProtocolError
);
1197
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.
ProtocolError
);