Skip to content

Commit 7e6003c

Browse files
committed
fixing comment
1 parent 78bb95e commit 7e6003c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

common/httpx/option.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/projectdiscovery/networkpolicy"
1111
)
1212

13-
// DefaultMaxResponseBodySize is the default maximum response body size (4GB)
13+
// DefaultMaxResponseBodySize is the default maximum response body size
1414
var DefaultMaxResponseBodySize int64
1515

1616
func init() {

runner/options.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,6 @@ func ParseOptions() *Options {
540540
flagSet.IntVar(&options.Retries, "retries", 0, "number of retries"),
541541
flagSet.IntVar(&options.Timeout, "timeout", 10, "timeout in seconds"),
542542
flagSet.DurationVar(&options.Delay, "delay", -1, "duration between each http request (eg: 200ms, 1s)"),
543-
)
544-
545-
flagSet.CreateGroup("response", "Response",
546543
flagSet.IntVarP(&options.MaxResponseBodySizeToSave, "response-size-to-save", "rsts", int(httpxcommon.DefaultMaxResponseBodySize), "max response size to save in bytes"),
547544
flagSet.IntVarP(&options.MaxResponseBodySizeToRead, "response-size-to-read", "rstr", int(httpxcommon.DefaultMaxResponseBodySize), "max response size to read in bytes"),
548545
)

0 commit comments

Comments
 (0)