14 writes to RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1Connection.cs (8)
496RawTarget = ForwardSlash; 517RawTarget = previousValue; 537RawTarget = _parsedRawTarget = target.GetAsciiString(); 633RawTarget = _parsedRawTarget = target.GetAsciiString(); 638RawTarget = _parsedRawTarget; 660RawTarget = Asterisk; 693RawTarget = _parsedRawTarget = target.GetAsciiString(); 761RawTarget = _parsedRawTarget;
Internal\Http\HttpProtocol.cs (1)
383RawTarget = null;
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
73set => RawTarget = value;
Internal\Http2\Http2Stream.cs (2)
282RawTarget = hostText; 314RawTarget = path;
Internal\Http3\Http3Stream.cs (2)
1115RawTarget = hostText; 1141RawTarget = path;
15 references to RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Internal\Http\Http1Connection.cs (4)
478Debug.Assert(RawTarget != null, "RawTarget was not set"); 567Path = _parsedPath = PathDecoder.DecodePath(path, targetPath.IsEncoded, RawTarget, queryLength); 708if (!Uri.TryCreate(RawTarget, UriKind.Absolute, out var uri)) 807if (hostText != RawTarget)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
72get => RawTarget!;
Internal\Http2\Http2Stream.cs (5)
345ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR); 423ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR); 453ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR); 459Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length); 465ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (5)
1172Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1250Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1280Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1286Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length); 1292Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError);