kubo/core/corehttp
Steven Allen 00158c4b92 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>
2018-07-31 13:07:19 -07:00
..
commands.go Extract path and resolver 2018-07-28 23:57:42 -07:00
corehttp.go wait for all connections to close before exiting on shutdown. 2018-07-31 13:07:19 -07:00
gateway_handler.go extract go-unixfs (importers and unixfs) 2018-07-30 14:54:26 -07:00
gateway_indexPage.go gateway: bring back dir-index-html assets 2016-11-03 00:38:32 +01:00
gateway_test.go Extract path and resolver 2018-07-28 23:57:42 -07:00
gateway.go gx update deps 2018-07-23 11:49:43 -07:00
ipns_hostname.go correctly handle multi-hop dnslink resolution 2018-07-07 00:18:30 -07:00
logs.go gx update 2018-06-26 17:11:33 -07:00
metrics_test.go gx update deps 2018-07-23 11:49:43 -07:00
metrics.go gx update deps 2018-07-23 11:49:43 -07:00
option_test.go golint: fix variable name 2018-01-21 11:11:47 -08:00
redirect.go corehttp: add net.Listener to ServeOption 2015-08-02 08:16:51 +02:00
webui.go Add trailing comma 2017-12-02 12:05:55 +00:00