Xray-core/proxy/trojan
MP 77d2f9edd7
Revise the Code per XTLS#1515 (#1536)
* Use buf.FromBytes(make([]byte, 0, buf.Size)) to create `first`

Fixes https://github.com/XTLS/Xray-core/issues/1515

* Update server.go

* Update inbound.go

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2023-01-16 22:18:58 -05:00
..
client.go Update xtls and go to 1.19 2022-09-15 22:06:59 -04:00
config.go v1.1.0 2020-12-04 09:36:16 +08:00
config.pb.go Generate all protos 2022-10-10 13:17:32 -04:00
config.proto Add SNI shunt support for Trojan fallbacks 2021-01-18 07:41:00 +00:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
protocol.go Update xtls and go to 1.19 2022-09-15 22:06:59 -04:00
protocol_test.go Reformat code 2022-05-18 15:29:01 +08:00
server.go Revise the Code per XTLS#1515 (#1536) 2023-01-16 22:18:58 -05:00
trojan.go v1.0.0 2020-11-25 19:01:53 +08:00
validator.go Removal: confonly 2020-12-11 13:05:29 +08:00