Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broker: shift sizeBuf 1 left by 8 for guessing tls version
As done in crypto/tls conn.go line 629 in go1.16, vers := uint16(hdr[1])<<8 | uint16(hdr[2]) It was a bug to miss the shift
- Loading branch information