Commit Graph

13 Commits (7e5e080488872c8586c445e3c3f9a1e385ba6368)

Author SHA1 Message Date
Darien Raymond 1ab94fed79
optimize v2ctl size
6 years ago
Darien Raymond 012a2d6f57
fix #1477
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond 63c7f5e686
check payload length before decrypting it. fixes #1227
6 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 009d58dd6c
remove static bytes array
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
Darien Raymond 443fd7c9a5
2k buffer should be enough
7 years ago
Darien Raymond f57260c358
refactor
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 0917866f38
refine kcp header and security
8 years ago