mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-23 16:05:00 +00:00
Squashed commit of the following: commit 1d9e8e4b4d53898cb6435f67529347bd2ba82cf0 Merge: 7280594 55b0f10 Author: Greg Wilkins <gregw@webtide.com> Date: Thu Sep 28 07:20:37 2017 +1000 Merge branch 'jetty-9.4.x' into jetty-9.4.x-1851-ThreadBudget commit 7280594a0058538b603ad35625713a79830e9b93 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Sep 27 22:48:58 2017 +1000 fixed headers commit f962f18e5b098ae40846ee3832736ee4650aed84 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Sep 27 18:12:33 2017 +1000 Issue #1851 added reset commit a63894de284c8d8dc5ed031f1f6e0fccaf6c7715 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Sep 27 18:08:53 2017 +1000 Issue #1851 improved test commit 8bcc460dc63273165305a7adcb88e991e30de4b7 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Sep 27 18:03:47 2017 +1000 Issue #1851 Improve insufficient thread warnings/errors Refactor approach to use Leases, to handle multiple executors commit fe4be5f56594f342ab5c2e6c886397d9b4fe9c14 Merge: abc5eac a248d38 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Sep 27 15:37:56 2017 +1000 Merge branch 'jetty-9.4.x' into jetty-9.4.x-1851-ThreadBudget commit abc5eac2b73d306a91b28ef4db778455095a5bdb Author: Greg Wilkins <gregw@webtide.com> Date: Wed Sep 27 12:20:03 2017 +1000 Issue #1851 Improve insufficient thread warnings/errors Created a ThreadBudget class that can be used to warn/error for registered and unregistered allocations of threads. The server on doStart does an unregistered check of all its components that implement the Allocation interface. The client will register itself as an Allocation if a shared Executor is used.