MCPcopy
hub / github.com/XTLS/REALITY / CCSDetectConn

Struct CCSDetectConn

record_detect.go:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137var CCSMsg = []byte{0x14, 0x3, 0x3, 0x0, 0x1, 0x1}
138
139type CCSDetectConn struct {
140 net.Conn
141 Key string
142}
143
144func (c *CCSDetectConn) Write(b []byte) (n int, err error) {
145 if len(b) >= 3 && bytes.Equal(b[:3], []byte{20, 3, 3}) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected