Skip to content

Commit

Permalink
Close the udp connection as we do not reuse it
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Mar 6, 2022
1 parent 50786fd commit d4d15f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions request/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ func udpRequests(hosts []string, args utils.Arguments, stats statistics.Statisti
logToFile(host)
}

// close the connection as we do not reuse it
conn.Close()

return true
}

Expand Down

0 comments on commit d4d15f1

Please sign in to comment.