{"action":"created","issue":{"url":"https://api.github.com/repos/ring-clojure/ring/issues/142","labels_url":"https://api.github.com/repos/ring-clojure/ring/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/ring-clojure/ring/issues/142/comments","events_url":"https://api.github.com/repos/ring-clojure/ring/issues/142/events","html_url":"https://github.com/ring-clojure/ring/pull/142","id":33243377,"number":142,"title":"Config option for buffer sizes in ring-jetty-adapter","user":{"login":"bendlas","id":214787,"avatar_url":"https://avatars.githubusercontent.com/u/214787?v=3","gravatar_id":"","url":"https://api.github.com/users/bendlas","html_url":"https://github.com/bendlas","followers_url":"https://api.github.com/users/bendlas/followers","following_url":"https://api.github.com/users/bendlas/following{/other_user}","gists_url":"https://api.github.com/users/bendlas/gists{/gist_id}","starred_url":"https://api.github.com/users/bendlas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendlas/subscriptions","organizations_url":"https://api.github.com/users/bendlas/orgs","repos_url":"https://api.github.com/users/bendlas/repos","events_url":"https://api.github.com/users/bendlas/events{/privacy}","received_events_url":"https://api.github.com/users/bendlas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ring-clojure/ring/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-05-10T17:28:30Z","updated_at":"2015-05-18T01:02:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ring-clojure/ring/pulls/142","html_url":"https://github.com/ring-clojure/ring/pull/142","diff_url":"https://github.com/ring-clojure/ring/pull/142.diff","patch_url":"https://github.com/ring-clojure/ring/pull/142.patch"},"body":"In jetty, the request and response buffers can be configured by calling `Connector.set[Request|Response][Header|Buffer]Size()`\r\n\r\nAttached patch exposes those as config options:\r\n```\r\n:buffer-size {:request  {:header 512 :body 1024}\r\n              :response {:header 512 :body 1024}}\r\n```\r\nEach map (toplevel or :request/:response) can be set to a number instead, to set all sub keys, e.g.\r\n```\r\n:buffer-size 2048\r\n;; or\r\n:buffer-size {:request  1024\r\n              :response 4096}\r\n```\r\nBeing able to control buffer sizes is a prerequisite to test chunking behavior, see tests from #113 "},"comment":{"url":"https://api.github.com/repos/ring-clojure/ring/issues/comments/102881155","html_url":"https://github.com/ring-clojure/ring/pull/142#issuecomment-102881155","issue_url":"https://api.github.com/repos/ring-clojure/ring/issues/142","id":102881155,"user":{"login":"weavejester","id":8780,"avatar_url":"https://avatars.githubusercontent.com/u/8780?v=3","gravatar_id":"","url":"https://api.github.com/users/weavejester","html_url":"https://github.com/weavejester","followers_url":"https://api.github.com/users/weavejester/followers","following_url":"https://api.github.com/users/weavejester/following{/other_user}","gists_url":"https://api.github.com/users/weavejester/gists{/gist_id}","starred_url":"https://api.github.com/users/weavejester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weavejester/subscriptions","organizations_url":"https://api.github.com/users/weavejester/orgs","repos_url":"https://api.github.com/users/weavejester/repos","events_url":"https://api.github.com/users/weavejester/events{/privacy}","received_events_url":"https://api.github.com/users/weavejester/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T01:02:11Z","updated_at":"2015-05-18T01:02:11Z","body":"I added an option in for that in c8a21cfa, but that seems a lot less specific than the options that were available in Jetty 7."}}