From 1b081b77cf06894bd30695f700fa3cc016c08c81 Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Sun, 6 Dec 2015 23:33:56 +0000 Subject: [PATCH] Use PooledContextFactory Also needs https://github.com/aspnet/HttpAbstractions/pull/501 to be real --- src/Benchmarks/DebugInfoPageMiddleware.cs | 1 - src/Benchmarks/Startup.cs | 43 +++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/src/Benchmarks/DebugInfoPageMiddleware.cs b/src/Benchmarks/DebugInfoPageMiddleware.cs index 91c7d991b..dcd1978f0 100644 --- a/src/Benchmarks/DebugInfoPageMiddleware.cs +++ b/src/Benchmarks/DebugInfoPageMiddleware.cs @@ -48,7 +48,6 @@ public async Task Invoke(HttpContext httpContext) await httpContext.Response.WriteAsync($"
  • Configuration: {_configurationName}
  • "); await httpContext.Response.WriteAsync($"
  • Server: {_hostingEnv.Configuration["server"]}
  • "); await httpContext.Response.WriteAsync($"
  • Server URLs: {_hostingEnv.Configuration["server.urls"]}
  • "); - await httpContext.Response.WriteAsync($"
  • Supports Send File: {httpContext.Response.SupportsSendFile()}
  • "); await httpContext.Response.WriteAsync($"
  • Server features: