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

- Added a QUIC server to accept streams - Unit test for this server also tests ALPN - Temporary echo capability for HTTP ConnectionType
16 lines
285 B
Go
16 lines
285 B
Go
// +build !darwin,!linux,!freebsd,!windows
|
|
|
|
package quic
|
|
|
|
import "net"
|
|
|
|
func newConn(c net.PacketConn) (connection, error) {
|
|
return &basicConn{PacketConn: c}, nil
|
|
}
|
|
|
|
func inspectReadBuffer(interface{}) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func (i *packetInfo) OOB() []byte { return nil }
|