mirror of https://github.com/fatedier/frp
vhost: typo fix
parent
3166bdf3f0
commit
82dc1e924f
|
@ -108,7 +108,7 @@ func readHandshake(rd io.Reader) (host string, err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(data) < 2 {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue