Browse Source

vhost: typo fix

fatedier 7 years ago
parent
commit
82dc1e924f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/vhost/https.go

+ 1 - 1
utils/vhost/https.go

@@ -108,7 +108,7 @@ func readHandshake(rd io.Reader) (host string, err error) {
 		return
 	}
 	if len(data) < 2 {
-		err = fmt.Errorf("readHandshake: extension dataLen[%d] is too short")
+		err = fmt.Errorf("readHandshake: extension dataLen[%d] is too short", len(data))
 		return
 	}