{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/594","repository_url":"https://api.github.com/repos/aspnet/HttpAbstractions","labels_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/594/comments","events_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/594/events","html_url":"https://github.com/aspnet/HttpAbstractions/pull/594","id":142415370,"number":594,"title":"Use pooled `StringBuilder` to reduce allocations when adding response cookies","user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-21T17:27:41Z","updated_at":"2016-03-25T19:21:22Z","closed_at":"2016-03-25T19:21:22Z","pull_request":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/594","html_url":"https://github.com/aspnet/HttpAbstractions/pull/594","diff_url":"https://github.com/aspnet/HttpAbstractions/pull/594.diff","patch_url":"https://github.com/aspnet/HttpAbstractions/pull/594.patch"},"body":"- #561\r\n- new `SetCookieHeaderValue.AppendToStringBuilder()` method; avoids per-call `StringBuilder` allocation\r\n- `ResponseCookies` uses `ObjectPool<StringBuilder>` that `ResponseCookiesFeature` provides\r\n- `ResponseCookiesFeature` creates an `ObjectPoolProvider` instance if none in DI\r\n- `IResponseCookiesFeature` exposes `int` properties supporting middleware overrides of the pool policy\r\n\r\nnit: Add some doc comments"},"comment":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/comments/201440056","html_url":"https://github.com/aspnet/HttpAbstractions/pull/594#issuecomment-201440056","issue_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/594","id":201440056,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T19:21:22Z","updated_at":"2016-03-25T19:21:22Z","body":"80813f7"}}