HTTP load generator, ApacheBench (ab) replacement
Go
readall is mandatory not to leak
Burcu Dogan7f4c62228ab4
diff --git a/boom.go b/boom.goindex 4ab339a..fb51c81 100644--- a/boom.go+++ b/boom.go@@ -39,7 +39,6 @@ var (accept = flag.String("A", "", "")contentType = flag.String("T", "text/html", "")authHeader = flag.String("a", "", "")- readAll = flag.Bool("readall", false, "")output = flag.String("o", "", "")@@ -75,7 +74,6 @@ Options:-a Basic authentication, username:password.-x HTTP Proxy address as host:port.- -readall Consumes the entire request body.-allow-insecure Allow bad/expired TLS/SSL certificates.-disable-compression Disable compression.-disable-keepalive Disable keep-alive, prevents re-use of TCP@@ -175,7 +173,6 @@ func main() {DisableKeepAlives: *disableKeepAlives,ProxyAddr: proxyURL,Output: *output,- ReadAll: *readAll,}).Run()}diff --git a/boomer/boomer.go b/boomer/boomer.goindex 1c4bf5f..498b225 100644--- a/boomer/boomer.go+++ b/boomer/boomer.go@@ -70,10 +70,6 @@ type Boomer struct {// Optional.ProxyAddr *url.URL- // ReadAll determines whether the body of the response needs- // to be fully consumed.- ReadAll bool-results chan *result}