mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
clean up dial functions
* add a context to all Dial functions * remove the explicit Dial{*}Context functions
This commit is contained in:
parent
d683b841c4
commit
aee7706d5d
32 changed files with 106 additions and 59 deletions
|
@ -80,6 +80,7 @@ var _ = Describe("Handshake tests", func() {
|
|||
defer ln.Close()
|
||||
|
||||
conn, err := quic.DialAddr(
|
||||
context.Background(),
|
||||
fmt.Sprintf("localhost:%d", ln.Addr().(*net.UDPAddr).Port),
|
||||
getTLSClientConfig(),
|
||||
quicClientConf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue