Commit Graph
19 Commits
Author SHA1 Message Date
RPRX 0d0713b108 Replace bytes.Clone() with append() 2023-03-09 12:52:56 +00:00
RPRX a7ae8b57f1 Apply target's time-out to hs.readClientFinished() 2023-03-09 20:51:17 +08:00
RPRX 6288e760a9 Reuse buf (though io.CopyBuffer() is not likely to actually use it) 2023-03-08 15:19:09 +00:00
RPRX dc9a7cef8e crypto/tls: set const maxUselessRecords to 32 (the same with OpenSSL)
https://github.com/golang/go/pull/58913
2023-03-07 15:20:57 +00:00
RPRX 15efa424b2 crypto/tls: reject change_cipher_spec record after handshake in TLS 1.3
https://github.com/golang/go/pull/58912
2023-03-07 15:19:08 +00:00
RPRX 6f8fa90c03 Generate template signedCert in advance 2023-03-06 07:23:16 +00:00
世界 f90825ddae Fix config clone (#3) 2023-02-28 11:51:37 +00:00
RPRX 524506d975 Add defer recover() to avoid potential panics 2023-02-27 19:29:02 +00:00
RPRX 9e83b0bee1 Make Accept() available 2023-02-27 15:02:28 +00:00
RPRX f34b4d1743 Use underlying for io.Copy() only 2023-02-26 07:26:56 +00:00
世界andRPRX 14f5d5380b Add DialContext (#1)
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2023-02-26 06:43:27 +00:00
RPRX 8f76c23ba6 Add example 2023-02-19 12:35:07 +00:00
RPRX 085bdf2104 Refine the logic after Read(buf) 2023-02-17 10:27:04 +00:00
RPRX e814936a3d Use for i, t := range types instead
Much easier for other people to understand the code.
2023-02-10 13:50:08 +08:00
RPRX 5a9e6c0cc2 Show hs.c.conn == underlying instead
Most log points were added last month and are stable.
2023-02-09 21:39:09 +08:00
RPRX 02fa0dd5f6 Combine check and its for
They were seven different parts at the beginning. Finally, they become one.
2023-02-09 19:57:16 +08:00
RPRX 5e6719eaf3 REALITY is REALITY now
Thank @yuhan6665 for testing
2023-02-09 11:59:09 +08:00
RPRX fb7fc93023 Prepare for REALITY protocol 2023-01-29 14:32:27 +00:00
RPRX c3c05667a5 Package tls in Go 1.19.5
Excluding `boring` or test files
2023-01-29 14:31:01 +00:00