Manish Tomar 40efb602d6
Add support to gracefully shutdown the server
This is done by draining the connections for configured time after registry receives a SIGTERM signal.
This adds a `draintimeout` setting under `HTTP`. Registry doesn't drain
if draintimeout is not provided.

Signed-off-by: Manish Tomar <manish.tomar@docker.com>
2018-08-20 10:01:26 -07:00
..
2018-08-06 13:55:43 -07:00
2018-08-06 14:49:11 -07:00
2018-08-06 14:49:11 -07:00
2018-08-06 14:49:11 -07:00