You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
I don't know if it's fixed yet, because I can not test the current version, but when I'm calling (IApplicationLifetime)lifetime.StopApplication(), every in flight requests are just killed instead of giving them time to finish and send their response back. Is it fixed, by design or a bug?
The text was updated successfully, but these errors were encountered:
The application should have 5 seconds by default to finish processing any ongoing requests. This timeout is configurable via KestrelServerOptions.ShutdownTimeout which can be modified in the options callback in WebHostBuilder.UseKestrel. After the timeout, the underlying socket will be unceremoniously closed and Kestrel's shutdown sequence will complete.
@synhaptein Can you explain how the in-flight requests are being killed? Are there any APIs that are throwing? Does the thread just get aborted as the process exits? Verbose logging might be helpful. If you are using ctrl-c to stop the application you might be running into https://github.com/dotnet/cli/issues/812.
I don't know if it's fixed yet, because I can not test the current version, but when I'm calling (IApplicationLifetime)lifetime.StopApplication(), every in flight requests are just killed instead of giving them time to finish and send their response back. Is it fixed, by design or a bug?
The text was updated successfully, but these errors were encountered: