27 references to Http10
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http\Http1Connection.cs (1)
607if (_httpVersion == Http.HttpVersion.Http10)
Internal\Http\Http1MessageBody.cs (2)
130var keepAlive = httpVersion != HttpVersion.Http10; 208if (httpVersion == HttpVersion.Http10 && (context.Method == HttpMethod.Post || context.Method == HttpMethod.Put))
Internal\Http\HttpProtocol.cs (5)
173if (_httpVersion == Http.HttpVersion.Http10) 200_httpVersion = Http.HttpVersion.Http10; 226_httpVersion = Http.HttpVersion.Http10; 942if (_httpVersion != Http.HttpVersion.Http10 && 1238else if (_httpVersion == Http.HttpVersion.Http10)
Internal\Http2\Http2Connection.cs (1)
581if (detectedVersion == HttpVersion.Http10 || detectedVersion == HttpVersion.Http11)
Internal\Infrastructure\HttpUtilities.cs (2)
419return HttpVersion.Http10; 456case HttpVersion.Http10:
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (16)
HttpUtilitiesTest.cs (1)
55[InlineData("HTTP/1.0\r", true, "HTTP/1.0", (int)HttpVersion.Http10)]
MessageBodyTests.cs (15)
26[InlineData((int)HttpVersion.Http10)] 56[InlineData((int)HttpVersion.Http10)] 84[InlineData((int)HttpVersion.Http10)] 111[InlineData((int)HttpVersion.Http10)] 132[InlineData((int)HttpVersion.Http10)] 153[InlineData((int)HttpVersion.Http10)] 412[InlineData((int)HttpVersion.Http10)] 441[InlineData((int)HttpVersion.Http10)] 468[InlineData((int)HttpVersion.Http10)] 492[InlineData((int)HttpVersion.Http10)] 518var body = Http1MessageBody.For(HttpVersion.Http10, new HttpRequestHeaders { HeaderContentLength = "8197" }, input.Http1Connection); 584Http1MessageBody.For(HttpVersion.Http10, new HttpRequestHeaders(), input.Http1Connection)); 596var body = Http1MessageBody.For(HttpVersion.Http10, new HttpRequestHeaders { HeaderContentLength = "5" }, input.Http1Connection); 619var body = Http1MessageBody.For(HttpVersion.Http10, new HttpRequestHeaders { HeaderContentLength = "5" }, input.Http1Connection); 636var body = Http1MessageBody.For(HttpVersion.Http10, new HttpRequestHeaders { HeaderContentLength = "5" }, input.Http1Connection);