From 3f4574402adca256f2d477fe60dd895b555ecb8a Mon Sep 17 00:00:00 2001 From: Chetan Sarva Date: Fri, 5 Nov 2021 10:02:14 -0400 Subject: [PATCH] cleanup --- daemon.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/daemon.go b/daemon.go index c2ef628..804e6c0 100644 --- a/daemon.go +++ b/daemon.go @@ -190,13 +190,6 @@ func (d *Daemon) restartTLS() { func (d *Daemon) registerVhost(w http.ResponseWriter, r *http.Request) { binding := r.PostFormValue("binding") d.addVhost(binding, w) - - // defer func() { - // // Remove this client when this handler exits - // fmt.Printf("[*] removing vhost: %s -> %d\n", vhost.Host, vhost.Port) - // d.loggedHandler.RemoveVhost(vhost.Host) - // d.restartTLS() - // }() } // streamLogs for a given hostname back to the caller. Runs forever until client