14 writes to Path
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1Connection.cs (8)
454Path = ForwardSlash; 475Path = _parsedPath; 519Path = _parsedPath = ForwardSlash; 524Path = _parsedPath = PathDecoder.DecodePath(path, targetPath.IsEncoded, RawTarget, queryLength); 598Path = string.Empty; 618Path = string.Empty; 686Path = _parsedPath = PathDecoder.DecodePath(pathBufferSliced, targetPath.IsEncoded, absolutePath, queryLength: 0); 719Path = _parsedPath;
Internal\Http\HttpProtocol.cs (1)
382Path = null;
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
61set => Path = value;
Internal\Http2\Http2Stream.cs (2)
326Path = string.Empty; 449Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length);
Internal\Http3\Http3Stream.cs (2)
1094Path = string.Empty; 1217Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length);
55 references to Path
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1Connection.cs (1)
437Debug.Assert(Path != null, "Path was not set");
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
60get => Path!;
Internal\Infrastructure\KestrelEventSource.cs (2)
110RequestStart(httpProtocol.ConnectionIdFeature, httpProtocol.TraceIdentifier, httpProtocol.HttpVersion, httpProtocol.Path!, httpProtocol.MethodText); 135RequestStop(httpProtocol.ConnectionIdFeature, httpProtocol.TraceIdentifier, httpProtocol.HttpVersion, httpProtocol.Path!, httpProtocol.MethodText);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (51)
Http1\Http1ConnectionTests.cs (2)
448Assert.Equal(expectedDecodedPath, _http1Connection.Path); 470Assert.Equal(expectedDecodedPath, _http1Connection.Path);
StartLineTests.cs (49)
35Assert.Null(Http1Connection.Path); 44Assert.Equal(path, Http1Connection.Path); 49Assert.NotSame(path, Http1Connection.Path); 62Assert.Null(Http1Connection.Path); 71Assert.Equal(path, Http1Connection.Path); 77Assert.Same(path, Http1Connection.Path); 90Assert.Null(Http1Connection.Path); 99Assert.Equal(path, Http1Connection.Path); 104Assert.NotSame(path, Http1Connection.Path); 117Assert.Null(Http1Connection.Path); 126Assert.Equal(path, Http1Connection.Path); 132Assert.Same(path, Http1Connection.Path); 150Assert.Equal(path, Http1Connection.Path); 155Assert.NotSame(path, Http1Connection.Path); 196var prevPath = Http1Connection.Path; 205Assert.Null(Http1Connection.Path); 215Assert.Equal(path, Http1Connection.Path); 221Assert.NotSame(path, Http1Connection.Path); 228Assert.Same(prevPath, Http1Connection.Path); 232prevPath = Http1Connection.Path; 249Assert.Equal(path, Http1Connection.Path); 254Assert.NotSame(path, Http1Connection.Path); 259Assert.NotEqual(prevPath, Http1Connection.Path); 292var prevPath = Http1Connection.Path; 301Assert.Null(Http1Connection.Path); 310Assert.Equal(path, Http1Connection.Path); 316Assert.NotSame(path, Http1Connection.Path); 323Assert.Same(prevPath, Http1Connection.Path); 327prevPath = Http1Connection.Path; 344Assert.Equal(path, Http1Connection.Path); 349Assert.NotSame(path, Http1Connection.Path); 354Assert.NotEqual(prevPath, Http1Connection.Path); 373var prevPath = Http1Connection.Path; 382Assert.Null(Http1Connection.Path); 391Assert.Equal(path, Http1Connection.Path); 397Assert.Same(path, Http1Connection.Path); 403Assert.Same(prevPath, Http1Connection.Path); 407prevPath = Http1Connection.Path; 423Assert.Equal(path, Http1Connection.Path); 428Assert.NotSame(path, Http1Connection.Path); 433Assert.NotEqual(prevPath, Http1Connection.Path); 455var prevPath = Http1Connection.Path; 464Assert.Null(Http1Connection.Path); 473Assert.Equal(path, Http1Connection.Path); 479Assert.Same(path, Http1Connection.Path); 485Assert.Same(prevPath, Http1Connection.Path); 489prevPath = Http1Connection.Path; 505Assert.Equal(path, Http1Connection.Path); 511Assert.Same(path, Http1Connection.Path);