GitHub user jacksontj opened a pull request: https://github.com/apache/trafficserver/pull/564
Ts 4341 https://jira01.corp.linkedin.com:8443/browse/TRAFFIC-5688 You can merge this pull request into a Git repository by running: $ git pull https://github.com/jacksontj/trafficserver TS-4341 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/564.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #564 ---- commit 08e2de5abf7095bf41a2a9b052f552ac7077412b Author: Thomas Jackson <jacksontj...@gmail.com> Date: 2016-04-11T22:03:16Z TS-4340 Add tests for per-origin connection limits commit 78d2bd62e0fe8813ce241d7a474ef67aaf70ad98 Author: Thomas Jackson <jacksontj...@gmail.com> Date: 2016-04-12T03:02:21Z TS-4341 add `origin_max_connections_queue` if you have `origin_max_connections` set, it will limit the number of sessions sent to a given origin. Once the limit is hit ATS would infinitely queue requests waiting for the origin to respond. In the event that the origin is broken (and will stay so) it is better to error the pages, on the flip side if you want ATS to just limit the number of connections you don't want to just close the connections. To handle both of these I've introduced `origin_max_connections_queue`. This option limits the number of outstanding connections allowed to a given origin. A value <0 defaults to the old behavior (no limits). If set to 0 all requests past the limit are errored, and if the limit is >0 then that many requests are allowed to be outstanding to the origin. commit 7c1fe5d238e3984437ed704e105894c51ed80cb6 Author: Thomas Jackson <jacksontj...@gmail.com> Date: 2016-04-12T03:10:44Z TS-4341 Document origin_max_connections_queue commit 96d5c900137a20d80d3371deff8db70ca0eaec0d Author: Thomas Jackson <jacksontj...@gmail.com> Date: 2016-04-11T22:51:15Z TS-4342 Add tests for queued/max connections in addition to base tests ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---