This repository has been archived by the owner on Nov 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Application Shutdown via IApplicationLifetime should be graceful when behind HttpPlatformHandler #20
Comments
davidfowl
changed the title
Application Shutdown via IApplicationShutdown should be graceful when behind HttpPlatformHandler
Application Shutdown via IApplicationLifetime should be graceful when behind HttpPlatformHandler
Oct 24, 2015
Any workaround on this? Can we catch and event when a process is being closed? |
@davidfowl For RC2 ask mode? Or postpone? |
Design: HttpPlatformHandler will define a new opt-in web.config setting "signalShutdown=true" (verify name). When set, it will send a Ctl+C & Ctl+Break to the back-end process and wait for a given timeout for the process to shut itself down. If the timeout expires then the process will be forcefully terminated. This feature is being developed as part of the app offline deployment scenario. |
Implemented via #81, no setting required. |
👏 for "no setting required" |
Nice! @Tratcher I assume you forgot to close. :) |
Oh perhaps you're waiting for the full verification before closing. :) |
This as been fixed in AspNetCoreModule v0.8: #105. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
More details to come...
The text was updated successfully, but these errors were encountered: