Skip to content

Commit

Permalink
fix panic in udp transport
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Sep 29, 2023
1 parent a40a26d commit 4f54804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tracker/udptracker/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (t *Transport) Run() {
req.ConnectionID = conn.id
trx, err := beginTransaction(req)
if err != nil {
trx.request.SetResponse(nil, err)
req.SetResponse(nil, err)
} else {
go retryTransaction(trx, udpConn, conn.addr)
}
Expand Down

0 comments on commit 4f54804

Please sign in to comment.