Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chetan committed Nov 5, 2021
1 parent 42e5ed3 commit 3f45744
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f45744

Please sign in to comment.