aspnetcore/test/Microsoft.AspNetCore.Server...
Nate McMaster c08c57f764 Reject HTTP/1.1 requests that do not have a correct Host header
Improves Kestrel to reject requests that don't conform to HTTP spec.

RFC 7230 section 5.4: "A server MUST respond with a 400 (Bad Request)
status code to any HTTP/1.1 request message that lacks a Host header
 field and to any request message that contains more than one Host
 header field or a Host header field with an invalid field-value."

See https://tools.ietf.org/html/rfc7230#section-5.4.

Other changes:

 - update VS code settings to work better with CLI 2.0
 - update tests that were subject to infinite hangs
2017-04-14 15:48:21 -07:00
..
TestHelpers
AsciiDecoding.cs
ChunkWriterTests.cs
CreateIPEndpointTests.cs
DateHeaderValueManagerTests.cs Make timeout logic transport agnostic (#1649) 2017-04-12 16:15:46 -07:00
FrameHeadersTests.cs
FrameRequestHeadersTests.cs
FrameRequestStreamTests.cs
FrameResponseHeadersTests.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
FrameResponseStreamTests.cs
FrameTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
HeartbeatTests.cs Make timeout logic transport agnostic (#1649) 2017-04-12 16:15:46 -07:00
HttpParserTests.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
HttpUtilitiesTest.cs
KestrelEventSourceTests.cs
KestrelServerLimitsTests.cs
KestrelServerOptionsTests.cs
KestrelServerTests.cs Make IServer Start and Stop async 2017-04-12 22:23:05 -07:00
LoggingThreadPoolTests.cs
MessageBodyTests.cs
Microsoft.AspNetCore.Server.Kestrel.Core.Tests.csproj
OutputProducerTests.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
PathNormalizerTests.cs
PipeOptionsTests.cs Add initial Socket transport for Kestrel (#1659) 2017-04-13 23:10:06 -07:00
PipelineExtensionTests.cs
ServerAddressTests.cs
StreamSocketOutputTests.cs
TestInput.cs Make timeout logic transport agnostic (#1649) 2017-04-12 16:15:46 -07:00
xunit.runner.json