14 writes to RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1Connection.cs (8)
497RawTarget = ForwardSlash; 518RawTarget = previousValue; 538RawTarget = _parsedRawTarget = target.GetAsciiString(); 634RawTarget = _parsedRawTarget = target.GetAsciiString(); 639RawTarget = _parsedRawTarget; 661RawTarget = Asterisk; 694RawTarget = _parsedRawTarget = target.GetAsciiString(); 772RawTarget = _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)
1106RawTarget = hostText; 1132RawTarget = path;
15 references to RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Internal\Http\Http1Connection.cs (4)
479Debug.Assert(RawTarget != null, "RawTarget was not set"); 568Path = _parsedPath = PathDecoder.DecodePath(path, targetPath.IsEncoded, RawTarget, queryLength); 719if (!Uri.TryCreate(RawTarget, UriKind.Absolute, out var uri)) 818if (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)
1163Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1241Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1271Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1277Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length); 1283Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError);