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
Not totally sure where the behavior belongs, but we want to be able to stop the server from accepting connections and allowing it to drain existing connections before exiting. We can do this a number of ways, but adding a hook for a process signal seems most straightforward:
Add hook for an agreed upon signal (SIGTERM?)
Stop server (prevent new connections)
Add 'Connection: close' to all existing connection responses after server.close().
Once server closes, exit process with appropriate status code
The text was updated successfully, but these errors were encountered:
Not totally sure where the behavior belongs, but we want to be able to stop the server from accepting connections and allowing it to drain existing connections before exiting. We can do this a number of ways, but adding a hook for a process signal seems most straightforward:
Add hook for an agreed upon signal (SIGTERM?)
Stop server (prevent new connections)
Add 'Connection: close' to all existing connection responses after server.close().
Once server closes, exit process with appropriate status code
The text was updated successfully, but these errors were encountered: