wait for all connections to close before exiting on shutdown.
Using httpServer.Shutdown will:
1. Close the listener (preventing new connections).
2. Close each connection as outstanding requests finish.
This prevent us from shutting down before outstanding requests get a chance to
respond.
fixes #4055
License: MIT
Signed-off-by:
Steven Allen <steven@stebalien.com>
正在显示
请
注册
或者
登录
后发表评论