Go to file
David Fowler 42d82a507d Make all UvRequest objects normal GC handles (#1698)
* Make all UvRequest objects normal GC handles
- This avoids the cost of using GCHandle.Alloc per operation.
- It *does* mean that we need to explicitly dispose UvRequest objects
after using them (which we did before anyways). This change does
add a few try catch statements to make sure we always dispose the UvRequest
if there are synchronous exceptions.
- This is ~1.5% of the overhead in the benchmarks today
- Keep track of all allocated UvRequest objects with a WeakReference in DEBUG
and assert none are kept around after cleaning up.
- Fixed a leak where we don't clean up UvWriteReq objects when writing
to the named pipe.
2017-04-19 15:16:11 -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
samples Expose a UseTransportThread property on KestrelServerOptions (#1695) 2017-04-17 12:58:28 -07:00
src Make all UvRequest objects normal GC handles (#1698) 2017-04-19 15:16:11 -07:00
test Make all UvRequest objects normal GC handles (#1698) 2017-04-19 15:16:11 -07:00
tools/CodeGenerator
.gitattributes
.gitignore
.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

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.