forked from quic-go/quic-go
clean up dial functions
* add a context to all Dial functions
* remove the explicit Dial{*}Context functions
This commit is contained in:
@@ -36,6 +36,7 @@ var _ = Describe("Multiplexing", func() {
|
||||
|
||||
dial := func(pconn net.PacketConn, addr net.Addr) {
|
||||
conn, err := quic.Dial(
|
||||
context.Background(),
|
||||
pconn,
|
||||
addr,
|
||||
getTLSClientConfig(),
|
||||
|
||||
Reference in New Issue
Block a user