MCPcopy
hub / github.com/cloudflare/cloudflared / quicConnection

Struct quicConnection

connection/quic_connection.go:43–55  ·  view source on GitHub ↗

quicConnection represents the type that facilitates Proxying via QUIC streams.

Source from the content-addressed store, hash-verified

41
42// quicConnection represents the type that facilitates Proxying via QUIC streams.
43type quicConnection struct {
44 conn cfdquic.QUICConnection
45 logger *zerolog.Logger
46 orchestrator Orchestrator
47 datagramHandler DatagramSessionHandler
48 controlStreamHandler ControlStreamHandler
49 connOptions *client.ConnectionOptionsSnapshot
50 connIndex uint8
51
52 rpcTimeout time.Duration
53 streamWriteTimeout time.Duration
54 gracePeriod time.Duration
55}
56
57// NewTunnelConnection takes a [cfdquic.QUICConnection] to wrap it for use with cloudflared application logic.
58func NewTunnelConnection(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected