14 writes to Path
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1Connection.cs (8)
351Path = ForwardSlash; 372Path = _parsedPath; 416Path = _parsedPath = ForwardSlash; 421Path = _parsedPath = PathDecoder.DecodePath(path, targetPath.IsEncoded, RawTarget, queryLength); 495Path = string.Empty; 515Path = string.Empty; 568Path = _parsedPath = uri.LocalPath; 588Path = _parsedPath;
Internal\Http\HttpProtocol.cs (1)
364Path = null;
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
61set => Path = value;
Internal\Http2\Http2Stream.cs (2)
327Path = string.Empty; 450Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length);
Internal\Http3\Http3Stream.cs (2)
1068Path = string.Empty; 1191Path = PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length);
55 references to Path
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1Connection.cs (1)
334Debug.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)
419Assert.Equal(expectedDecodedPath, _http1Connection.Path); 441Assert.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); 194var prevPath = Http1Connection.Path; 203Assert.Null(Http1Connection.Path); 213Assert.Equal(path, Http1Connection.Path); 219Assert.NotSame(path, Http1Connection.Path); 226Assert.Same(prevPath, Http1Connection.Path); 230prevPath = Http1Connection.Path; 247Assert.Equal(path, Http1Connection.Path); 252Assert.NotSame(path, Http1Connection.Path); 257Assert.NotEqual(prevPath, Http1Connection.Path); 288var prevPath = Http1Connection.Path; 297Assert.Null(Http1Connection.Path); 306Assert.Equal(path, Http1Connection.Path); 312Assert.NotSame(path, Http1Connection.Path); 319Assert.Same(prevPath, Http1Connection.Path); 323prevPath = Http1Connection.Path; 340Assert.Equal(path, Http1Connection.Path); 345Assert.NotSame(path, Http1Connection.Path); 350Assert.NotEqual(prevPath, Http1Connection.Path); 369var prevPath = Http1Connection.Path; 378Assert.Null(Http1Connection.Path); 387Assert.Equal(path, Http1Connection.Path); 393Assert.Same(path, Http1Connection.Path); 399Assert.Same(prevPath, Http1Connection.Path); 403prevPath = Http1Connection.Path; 419Assert.Equal(path, Http1Connection.Path); 424Assert.NotSame(path, Http1Connection.Path); 429Assert.NotEqual(prevPath, Http1Connection.Path); 451var prevPath = Http1Connection.Path; 460Assert.Null(Http1Connection.Path); 469Assert.Equal(path, Http1Connection.Path); 475Assert.Same(path, Http1Connection.Path); 481Assert.Same(prevPath, Http1Connection.Path); 485prevPath = Http1Connection.Path; 501Assert.Equal(path, Http1Connection.Path); 507Assert.Same(path, Http1Connection.Path);