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

Function newQUICConn

quic.go:188–198  ·  view source on GitHub ↗
(conn *Conn, config *QUICConfig)

Source from the content-addressed store, hash-verified

186}
187
188func newQUICConn(conn *Conn, config *QUICConfig) *QUICConn {
189 conn.quic = &quicState{
190 signalc: make(chan struct{}),
191 blockedc: make(chan struct{}),
192 enableSessionEvents: config.EnableSessionEvents,
193 }
194 conn.quic.events = conn.quic.eventArr[:0]
195 return &QUICConn{
196 conn: conn,
197 }
198}
199
200// Start starts the client or server handshake protocol.
201// It may produce connection events, which may be read with [QUICConn.NextEvent].

Callers 2

QUICClientFunction · 0.85
QUICServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…