mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-12 00:46:55 +00:00

- Added a QUIC server to accept streams - Unit test for this server also tests ALPN - Temporary echo capability for HTTP ConnectionType
18 lines
272 B
Go
18 lines
272 B
Go
// +build linux
|
|
|
|
package quic
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const msgTypeIPTOS = unix.IP_TOS
|
|
|
|
const (
|
|
ipv4RECVPKTINFO = unix.IP_PKTINFO
|
|
ipv6RECVPKTINFO = unix.IPV6_RECVPKTINFO
|
|
)
|
|
|
|
const (
|
|
msgTypeIPv4PKTINFO = unix.IP_PKTINFO
|
|
msgTypeIPv6PKTINFO = unix.IPV6_PKTINFO
|
|
)
|