HTTP load generator, ApacheBench (ab) replacement
Go
Implemented feedback from Burcu
Ox To A Cart3063711f8227
diff --git a/boom.go b/boom.goindex 0bb5dde..dfe315d 100644--- a/boom.go+++ b/boom.go@@ -24,7 +24,7 @@ import ("regexp""strings"- "github.com/oxtoacart/boom/commands"+ "github.com/rakyll/boom/commands")var (diff --git a/commands/run.go b/commands/run.goindex ea06813..ee3892e 100644--- a/commands/run.go+++ b/commands/run.go@@ -54,7 +54,7 @@ func (b *Boom) worker(ch chan *http.Request) {size = resp.ContentLength}// consume the whole body- ioutil.ReadAll(resp.Body)+ io.Copy(ioutil.Discard, resp.Body)// cleanup body, so the socket can be reusableresp.Body.Close()}