22 references to Http3StreamErrorException
Microsoft.AspNetCore.Server.Kestrel.Core (22)
Internal\Http3\Http3Connection.cs (1)
650
throw new
Http3StreamErrorException
(CoreStrings.ReceivedLooseWebTransportStream, Http3ErrorCode.StreamCreationError);
Internal\Http3\Http3ControlStream.cs (1)
236
throw new
Http3StreamErrorException
(CoreStrings.FormatHttp3ControlStreamErrorUnsupportedType(_headerType), Http3ErrorCode.StreamCreationError);
Internal\Http3\Http3Stream.cs (20)
354
throw new
Http3StreamErrorException
(CoreStrings.BadRequest_HeadersExceedMaxTotalSize, Http3ErrorCode.RequestRejected);
361
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorConnectionSpecificHeaderField, Http3ErrorCode.MessageError);
420
throw new
Http3StreamErrorException
(bre.Message, Http3ErrorCode.MessageError);
424
throw new
Http3StreamErrorException
(CoreStrings.BadRequest_MalformedRequestInvalidHeaders, Http3ErrorCode.MessageError);
438
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorTrailerNameUppercase, Http3ErrorCode.MessageError);
442
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorHeaderNameUppercase, Http3ErrorCode.MessageError);
472
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorPseudoHeaderFieldAfterRegularHeaders, Http3ErrorCode.MessageError);
479
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorTrailersContainPseudoHeaderField, Http3ErrorCode.MessageError);
489
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorUnknownPseudoHeaderField, Http3ErrorCode.MessageError);
497
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorResponsePseudoHeaderField, Http3ErrorCode.MessageError);
504
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorDuplicatePseudoHeaderField, Http3ErrorCode.MessageError);
818
throw new
Http3StreamErrorException
(CoreStrings.Http3StreamErrorRequestEndedNoHeaders, Http3ErrorCode.RequestIncomplete);
826
throw new
Http3StreamErrorException
(CoreStrings.Http3StreamErrorLessDataThanLength, Http3ErrorCode.ProtocolError);
899
throw new
Http3StreamErrorException
(ex.Message, Http3ErrorCode.InternalError);
933
throw new
Http3StreamErrorException
(CoreStrings.Http3MethodMustBeConnectWhenUsingProtocolPseudoHeader, Http3ErrorCode.ProtocolError);
938
throw new
Http3StreamErrorException
(CoreStrings.Http3MissingAuthorityOrPathPseudoHeaders, Http3ErrorCode.ProtocolError);
943
throw new
Http3StreamErrorException
(CoreStrings.FormatHttp3WebTransportStatusMismatch(_context.ClientPeerSettings.EnableWebTransport == 1, _context.ServerPeerSettings.EnableWebTransport == 1), Http3ErrorCode.SettingsError);
948
throw new
Http3StreamErrorException
(CoreStrings.FormatHttp3DatagramStatusMismatch(_context.ClientPeerSettings.H3Datagram == 1, _context.ServerPeerSettings.H3Datagram == 1), Http3ErrorCode.SettingsError);
966
throw new
Http3StreamErrorException
(CoreStrings.HttpErrorMissingMandatoryPseudoHeaderFields, Http3ErrorCode.MessageError);
998
throw new
Http3StreamErrorException
(CoreStrings.Http3StreamErrorMoreDataThanLength, Http3ErrorCode.ProtocolError);