readall is mandatory not to leak

This commit is contained in:
Burcu Dogan
2016-03-11 16:06:06 -08:00
parent df3b89ae10
commit 7f4c62228a
2 changed files with 0 additions and 7 deletions

View File

@@ -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()
}

View File

@@ -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
}