run-jetty :configurator set to run last #63
Seems a reasonable change. Have you tested it?
Also please make the first line of your commit a little shorter. GitHub truncates at 72 characters, and Git tends to recommend a 50 character limit.
Maybe something like: "run-jetty :configurator set last to run"
we added a test to demonstrate that thread pool can be changed (it and the handler were after the configurator before); otherwise, it's a refactoring (and the other tests pass); we're also using it (though that's not a test really!); I'll edit the first line as well... thanks!
also added additional tests that the handler set by the configurator is the one on the server object and that there is only one handler set.
Sure, maybe even squash all three (so the tests are with the code change)?
I'm just going to close this pull request and open another one with the rebased commits...
This change allows for replacing the default proxy-handler with a custom handler; the benefit of this (for us) was to allow for logging custom timing and request information from the handler in a way that provides a general solution without adding new configuration options.
The change simply rearranges what's already happening in the run-jetty function to allow the configurator have the final say on what the configuration will be; it does not otherwise change the function's behavior.