refactor: cleaner way of passing a UDPConn around (#421)
* refactor: cleaner way of passing a UDPConn around Also part of https://github.com/ooni/probe/issues/1505 * Update internal/engine/netx/quicdialer/connectionstate.go
This commit is contained in:
parent
ec350cba1a
commit
250a595f89
9 changed files with 33 additions and 27 deletions
|
|
@ -45,7 +45,7 @@ func (h HandshakeSaver) DialContext(ctx context.Context, network string,
|
|||
})
|
||||
return nil, err
|
||||
}
|
||||
state := ConnectionState(sess)
|
||||
state := connectionState(sess)
|
||||
h.Saver.Write(trace.Event{
|
||||
Duration: stop.Sub(start),
|
||||
Name: "quic_handshake_done",
|
||||
|
|
|
|||
Loading…
Reference in a new issue