mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-07 02:58:56 +00:00
I noticed that we weren't grabbing the Activity handle for injection requests. Doing so allows us to reject a request that comes in while we are shutting down the service, rather than accept it to have it potentially dropped as we shut down. I also realized that we need to make the xfer injection handler match the same set of rules for the http injection handler, so this commit refactors that logic to reuse it in both places.