mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +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
|
@ -45,6 +45,7 @@ var _ = Describe("Packetization", func() {
|
|||
|
||||
clientTracer := newPacketTracer()
|
||||
conn, err := quic.DialAddr(
|
||||
context.Background(),
|
||||
fmt.Sprintf("localhost:%d", proxy.LocalPort()),
|
||||
getTLSClientConfig(),
|
||||
getQuicConfig(&quic.Config{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue