13 writes to _httpVersion
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http\Http1Connection.cs (1)
330_httpVersion = versionAndMethod.Version;
Internal\Http\HttpProtocol.cs (10)
188_httpVersion = Http.HttpVersion.Http3; 192_httpVersion = Http.HttpVersion.Http2; 196_httpVersion = Http.HttpVersion.Http11; 200_httpVersion = Http.HttpVersion.Http10; 214_httpVersion = Http.HttpVersion.Http3; 218_httpVersion = Http.HttpVersion.Http2; 222_httpVersion = Http.HttpVersion.Http11; 226_httpVersion = Http.HttpVersion.Http10; 230_httpVersion = Http.HttpVersion.Unknown; 368_httpVersion = Http.HttpVersion.Unknown;
Internal\Http2\Http2Stream.cs (1)
247_httpVersion = Http.HttpVersion.Http2;
Internal\Http3\Http3Stream.cs (1)
989_httpVersion = Http.HttpVersion.Http3;
12 references to _httpVersion
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http\Http1Connection.cs (2)
606if (_httpVersion == Http.HttpVersion.Http10) 705=> Http1MessageBody.For(_httpVersion, HttpRequestHeaders, this);
Internal\Http\HttpProtocol.cs (10)
161if (_httpVersion == Http.HttpVersion.Http3) 165if (_httpVersion == Http.HttpVersion.Http2) 169if (_httpVersion == Http.HttpVersion.Http11) 173if (_httpVersion == Http.HttpVersion.Http10) 942if (_httpVersion != Http.HttpVersion.Http10 && 1070if (_autoChunk || _httpVersion >= Http.HttpVersion.Http2) 1136if (_httpVersion > Http.HttpVersion.Http11 && responseHeaders.HasInvalidH2H3Headers) 1219else if (_httpVersion == Http.HttpVersion.Http11) 1232if (!hasConnection && _httpVersion < Http.HttpVersion.Http2) 1238else if (_httpVersion == Http.HttpVersion.Http10)