utils/vhost: remove fmt.Printf method

This commit is contained in:
Maodanping 2016-08-29 11:02:59 +08:00
parent dc5e130d33
commit 78c6845781

View File

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