12bf850c84
As of Go 1.8, "net/http".Server provides facilities to close all listeners, making the same facilities in server.Server redundant. http.Server also improves upon server.Server by additionally providing a facility to also wait for outstanding requests to complete after closing all listeners. Leverage those facilities to give in-flight requests up to five seconds to finish up after all containers have been shut down. Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
backend/build | ||
httpstatus | ||
httputils | ||
middleware | ||
router | ||
errorhandler.go | ||
middleware.go | ||
server.go | ||
server_test.go |