Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
1f9039e3ef
1 changed files with 0 additions and 10 deletions
  1. 0 10
      mod/dynamicproxy/dynamicproxy.go

+ 0 - 10
mod/dynamicproxy/dynamicproxy.go

@@ -86,16 +86,6 @@ func (router *Router) StartProxyService() error {
 	}
 
 	if router.Option.UseTls {
-		/*
-			//Serve with TLS mode
-			ln, err := tls.Listen("tcp", ":"+strconv.Itoa(router.Option.Port), config)
-			if err != nil {
-				log.Println(err)
-				router.Running = false
-				return err
-			}
-			router.tlsListener = ln
-		*/
 		router.server = &http.Server{
 			Addr:      ":" + strconv.Itoa(router.Option.Port),
 			Handler:   router.mux,