udp start context
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Jake Hillion 2021-03-31 18:32:27 +01:00
parent 9a19ecd0d4
commit 6d44a75138

View File

@ -111,10 +111,14 @@ func (f *InitiatedFlow) Reconnect(ctx context.Context) error {
go func() {
seq, err := f.congestion.Sequence(ctx)
if err != nil {
return
}
for !f.isAlive {
if ctx.Err() != nil {
return
}
p := Packet{
ack: 0,
nack: 0,