rakyll / hey

HTTP load generator, ApacheBench (ab) replacement
Apache License 2.0
17.63k stars 1.17k forks source link

Interrupt sending requests when Ctrl+C is received #267

Open gdm85 opened 2 years ago

gdm85 commented 2 years ago

When pressing Ctrl+C the in-flight requests will currently not be interrupted.

This PR addresses the problem and also removes an unused RequestFunc function.