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)
606
if (
_httpVersion
== Http.HttpVersion.Http10)
705
=> Http1MessageBody.For(
_httpVersion
, HttpRequestHeaders, this);
Internal\Http\HttpProtocol.cs (10)
161
if (
_httpVersion
== Http.HttpVersion.Http3)
165
if (
_httpVersion
== Http.HttpVersion.Http2)
169
if (
_httpVersion
== Http.HttpVersion.Http11)
173
if (
_httpVersion
== Http.HttpVersion.Http10)
942
if (
_httpVersion
!= Http.HttpVersion.Http10 &&
1070
if (_autoChunk ||
_httpVersion
>= Http.HttpVersion.Http2)
1136
if (
_httpVersion
> Http.HttpVersion.Http11 && responseHeaders.HasInvalidH2H3Headers)
1219
else if (
_httpVersion
== Http.HttpVersion.Http11)
1232
if (!hasConnection &&
_httpVersion
< Http.HttpVersion.Http2)
1238
else if (
_httpVersion
== Http.HttpVersion.Http10)