From 82dc1e924fcb7a2da4adca4c1c3dcd75ca7f1aca Mon Sep 17 00:00:00 2001 From: fatedier Date: Wed, 21 Mar 2018 18:06:43 +0800 Subject: [PATCH] vhost: typo fix --- utils/vhost/https.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/vhost/https.go b/utils/vhost/https.go index a1a0645..a6ef55d 100644 --- a/utils/vhost/https.go +++ b/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 }