MCPcopy Index your code
hub / github.com/XTLS/REALITY / PostHandshakeRecordDetectConn

Struct PostHandshakeRecordDetectConn

record_detect.go:104–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104type PostHandshakeRecordDetectConn struct {
105 net.Conn
106 Key string
107 CcsSent bool
108}
109
110func (c *PostHandshakeRecordDetectConn) Write(b []byte) (n int, err error) {
111 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