14 writes to RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1Connection.cs (8)
478RawTarget = ForwardSlash; 499RawTarget = previousValue; 519RawTarget = _parsedRawTarget = target.GetAsciiString(); 615RawTarget = _parsedRawTarget = target.GetAsciiString(); 620RawTarget = _parsedRawTarget; 642RawTarget = Asterisk; 675RawTarget = _parsedRawTarget = target.GetAsciiString(); 743RawTarget = _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)
1066RawTarget = hostText; 1092RawTarget = path;
13 references to RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http\Http1Connection.cs (4)
460Debug.Assert(RawTarget != null, "RawTarget was not set"); 549Path = _parsedPath = PathDecoder.DecodePath(path, targetPath.IsEncoded, RawTarget, queryLength); 690if (!Uri.TryCreate(RawTarget, UriKind.Absolute, out var uri)) 789if (hostText != RawTarget)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
72get => RawTarget!;
Internal\Http2\Http2Stream.cs (4)
416ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR); 446ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR); 452Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length); 458ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2StreamErrorPathInvalid(RawTarget)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (4)
1194Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1224Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError); 1230Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length); 1236Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3StreamErrorPathInvalid(RawTarget)), Http3ErrorCode.ProtocolError);