Go to file
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
.vscode Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
build Updating versions to 2.0.0-preview1 2017-04-03 21:41:10 -07:00
samples Rename namespaces/directories/classes in Kestrel.Core and Transport.Libuv (#1582). 2017-04-04 13:45:02 -07:00
src Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
test Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
tools/CodeGenerator FrameFeatureCollection benchmark (#1643) 2017-04-09 16:02:18 -07:00
.gitattributes
.gitignore Remove swp file (#1601) 2017-04-03 16:27:37 -07:00
.travis.yml
CONTRIBUTING.md
KestrelHttpServer.sln Add initial Socket transport for Kestrel (#1659) 2017-04-13 23:10:06 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
ToProjectReferences.ps1
appveyor.yml
build.cmd
build.ps1
build.sh
version.props Updating versions to 2.0.0-preview1 2017-04-03 21:41:10 -07:00

README.md

KestrelHttpServer

Join the chat at https://gitter.im/aspnet/KestrelHttpServer

AppVeyor: AppVeyor

Travis: Travis

This repo contains a web server for ASP.NET Core based on libuv.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.