aspnetcore/test/shared
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
..
TestResources
DummyApplication.cs
HttpClientSlim.cs
HttpParsingData.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
KestrelTestLoggerFactory.cs
LifetimeNotImplemented.cs
MockSocketOutput.cs
MockSystemClock.cs
PassThroughConnectionAdapter.cs Remove ListenOptions.Scheme and move IConnectionFilter to .Internal namespace 2017-04-13 09:45:26 -07:00
StringExtensions.cs
TestApp.cs
TestApplicationErrorLogger.cs Make timeout logic transport agnostic (#1649) 2017-04-12 16:15:46 -07:00
TestConnection.cs Make timeout logic transport agnostic (#1649) 2017-04-12 16:15:46 -07:00
TestFrame.cs
TestKestrelTrace.cs
TestResources.cs
TestServiceContext.cs Make timeout logic transport agnostic (#1649) 2017-04-12 16:15:46 -07:00