mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 13:49:58 +00:00
TUN-4597: Add a QUIC server skeleton
- Added a QUIC server to accept streams - Unit test for this server also tests ALPN - Temporary echo capability for HTTP ConnectionType
This commit is contained in:
17
vendor/github.com/lucas-clemente/quic-go/conn_helper_linux.go
generated
vendored
Normal file
17
vendor/github.com/lucas-clemente/quic-go/conn_helper_linux.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// +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
|
||||
)
|
Reference in New Issue
Block a user