Explorar el Código

utils/vhost: remove fmt.Printf method

Maodanping hace 8 años
padre
commit
78c6845781
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/utils/vhost/vhost.go

+ 0 - 1
src/utils/vhost/vhost.go

@@ -128,7 +128,6 @@ func (v *VhostMuxer) handle(c *conn.Conn) {
 
 	// if authFunc is exist and userName/password is set
 	// verify user access
-	fmt.Printf("reqInfo: %+v\n", reqInfoMap)
 	if l.mux.authFunc != nil &&
 		l.userName != "" && l.passWord != "" {
 		bAccess, err := l.mux.authFunc(c, l.userName, l.passWord, reqInfoMap["Authorization"])