14 writes to Path
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1Connection.cs (8)
351
Path
= ForwardSlash;
372
Path
= _parsedPath;
416
Path
= _parsedPath = ForwardSlash;
421
Path
= _parsedPath = PathDecoder.DecodePath(path, targetPath.IsEncoded, RawTarget, queryLength);
495
Path
= string.Empty;
515
Path
= string.Empty;
568
Path
= _parsedPath = uri.LocalPath;
588
Path
= _parsedPath;
Internal\Http\HttpProtocol.cs (1)
364
Path
= null;
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
61
set =>
Path
= value;
Internal\Http2\Http2Stream.cs (2)
327
Path
= string.Empty;
450
Path
= PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length);
Internal\Http3\Http3Stream.cs (2)
1068
Path
= string.Empty;
1191
Path
= PathDecoder.DecodePath(pathBuffer, pathEncoded, RawTarget!, QueryString!.Length);
55 references to Path
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1Connection.cs (1)
334
Debug.Assert(
Path
!= null, "Path was not set");
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
60
get =>
Path
!;
Internal\Infrastructure\KestrelEventSource.cs (2)
110
RequestStart(httpProtocol.ConnectionIdFeature, httpProtocol.TraceIdentifier, httpProtocol.HttpVersion, httpProtocol.
Path
!, httpProtocol.MethodText);
135
RequestStop(httpProtocol.ConnectionIdFeature, httpProtocol.TraceIdentifier, httpProtocol.HttpVersion, httpProtocol.
Path
!, httpProtocol.MethodText);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (51)
Http1\Http1ConnectionTests.cs (2)
419
Assert.Equal(expectedDecodedPath, _http1Connection.
Path
);
441
Assert.Equal(expectedDecodedPath, _http1Connection.
Path
);
StartLineTests.cs (49)
35
Assert.Null(Http1Connection.
Path
);
44
Assert.Equal(path, Http1Connection.
Path
);
49
Assert.NotSame(path, Http1Connection.
Path
);
62
Assert.Null(Http1Connection.
Path
);
71
Assert.Equal(path, Http1Connection.
Path
);
77
Assert.Same(path, Http1Connection.
Path
);
90
Assert.Null(Http1Connection.
Path
);
99
Assert.Equal(path, Http1Connection.
Path
);
104
Assert.NotSame(path, Http1Connection.
Path
);
117
Assert.Null(Http1Connection.
Path
);
126
Assert.Equal(path, Http1Connection.
Path
);
132
Assert.Same(path, Http1Connection.
Path
);
150
Assert.Equal(path, Http1Connection.
Path
);
155
Assert.NotSame(path, Http1Connection.
Path
);
194
var prevPath = Http1Connection.
Path
;
203
Assert.Null(Http1Connection.
Path
);
213
Assert.Equal(path, Http1Connection.
Path
);
219
Assert.NotSame(path, Http1Connection.
Path
);
226
Assert.Same(prevPath, Http1Connection.
Path
);
230
prevPath = Http1Connection.
Path
;
247
Assert.Equal(path, Http1Connection.
Path
);
252
Assert.NotSame(path, Http1Connection.
Path
);
257
Assert.NotEqual(prevPath, Http1Connection.
Path
);
288
var prevPath = Http1Connection.
Path
;
297
Assert.Null(Http1Connection.
Path
);
306
Assert.Equal(path, Http1Connection.
Path
);
312
Assert.NotSame(path, Http1Connection.
Path
);
319
Assert.Same(prevPath, Http1Connection.
Path
);
323
prevPath = Http1Connection.
Path
;
340
Assert.Equal(path, Http1Connection.
Path
);
345
Assert.NotSame(path, Http1Connection.
Path
);
350
Assert.NotEqual(prevPath, Http1Connection.
Path
);
369
var prevPath = Http1Connection.
Path
;
378
Assert.Null(Http1Connection.
Path
);
387
Assert.Equal(path, Http1Connection.
Path
);
393
Assert.Same(path, Http1Connection.
Path
);
399
Assert.Same(prevPath, Http1Connection.
Path
);
403
prevPath = Http1Connection.
Path
;
419
Assert.Equal(path, Http1Connection.
Path
);
424
Assert.NotSame(path, Http1Connection.
Path
);
429
Assert.NotEqual(prevPath, Http1Connection.
Path
);
451
var prevPath = Http1Connection.
Path
;
460
Assert.Null(Http1Connection.
Path
);
469
Assert.Equal(path, Http1Connection.
Path
);
475
Assert.Same(path, Http1Connection.
Path
);
481
Assert.Same(prevPath, Http1Connection.
Path
);
485
prevPath = Http1Connection.
Path
;
501
Assert.Equal(path, Http1Connection.
Path
);
507
Assert.Same(path, Http1Connection.
Path
);