mirror of
https://github.com/SagerNet/sing-shadowsocks.git
synced 2025-04-03 20:07:40 +03:00
Minior fix
This commit is contained in:
parent
830a2f478e
commit
131cb4e2a5
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func isTLSHandshake(payload []byte) bool {
|
|||
if tlsVersion != tlsVersion10 && tlsVersion != tlsVersion12 {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return readTLSChunkEnd(payload) > 0
|
||||
}
|
||||
|
||||
func readTLSChunkEnd(payload []byte) int {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue