- #561 - new `SetCookieHeaderValue.AppendToStringBuilder()` method; avoids per-call `StringBuilder` allocation - `ResponseCookies` uses `ObjectPool<StringBuilder>` that `ResponseCookiesFeature` provides - `ResponseCookies` works fine if no `ObjectPoolProvider` is available - `IHttpContextFactory` instance is a singleton instantiated from CI - make `HttpContextFactory` `ObjectPoolProvider` and `ResponseCookiesFeature`-aware - apply same pattern to sample `PooledHttpContextFactory` - pool is not currently configurable; defaults are fine for response cookies - if we need (policy) configuration, would add an `IOptions<HttpContextFactorySettings>` nit: Add some doc comments |
||
|---|---|---|
| .. | ||
| Microsoft.AspNetCore.Http.Abstractions.Tests | ||
| Microsoft.AspNetCore.Http.Extensions.Tests | ||
| Microsoft.AspNetCore.Http.Features.Tests | ||
| Microsoft.AspNetCore.Http.Tests | ||
| Microsoft.AspNetCore.Owin.Tests | ||
| Microsoft.AspNetCore.WebUtilities.Tests | ||
| Microsoft.Net.Http.Headers.Tests | ||