diff options
Diffstat (limited to 'cmd/web_graceful.go')
-rw-r--r-- | cmd/web_graceful.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cmd/web_graceful.go b/cmd/web_graceful.go index 91ac024ddb..1618208c55 100644 --- a/cmd/web_graceful.go +++ b/cmd/web_graceful.go @@ -5,7 +5,6 @@ package cmd import ( - "crypto/tls" "net" "net/http" "net/http/fcgi" @@ -20,14 +19,6 @@ func runHTTP(network, listenAddr, name string, m http.Handler) error { return graceful.HTTPListenAndServe(network, listenAddr, name, m) } -func runHTTPS(network, listenAddr, name, certFile, keyFile string, m http.Handler) error { - return graceful.HTTPListenAndServeTLS(network, listenAddr, name, certFile, keyFile, m) -} - -func runHTTPSWithTLSConfig(network, listenAddr, name string, tlsConfig *tls.Config, m http.Handler) error { - return graceful.HTTPListenAndServeTLSConfig(network, listenAddr, name, tlsConfig, m) -} - // NoHTTPRedirector tells our cleanup routine that we will not be using a fallback http redirector func NoHTTPRedirector() { graceful.GetManager().InformCleanup() |