17 references to InvalidRequestHeaders
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\Http1Connection.cs (5)
625
KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.
InvalidRequestHeaders
);
636
KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.
InvalidRequestHeaders
);
661
KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.
InvalidRequestHeaders
);
670
KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.
InvalidRequestHeaders
);
811
return ConnectionEndReason.
InvalidRequestHeaders
;
Internal\Http\Http1MessageBody.cs (1)
210
KestrelMetrics.AddConnectionEndReason(context.MetricsContext, ConnectionEndReason.
InvalidRequestHeaders
);
Internal\Http2\Http2Connection.cs (10)
1650
throw new Http2ConnectionErrorException(bre.Message, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1654
throw new Http2ConnectionErrorException(CoreStrings.BadRequest_MalformedRequestInvalidHeaders, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1665
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorConnectionSpecificHeaderField, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1676
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorTrailerNameUppercase, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1680
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorHeaderNameUppercase, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1709
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorPseudoHeaderFieldAfterRegularHeaders, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1715
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorTrailersContainPseudoHeaderField, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1724
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorUnknownPseudoHeaderField, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1731
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorResponsePseudoHeaderField, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
1738
throw new Http2ConnectionErrorException(CoreStrings.HttpErrorDuplicatePseudoHeaderField, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.
InvalidRequestHeaders
);
Internal\Infrastructure\KestrelMetrics.cs (1)
487
ConnectionEndReason.
InvalidRequestHeaders
=> "invalid_request_headers",