Skip to content

Commit 052e3dd

Browse files
authored
Merge pull request #108 from projectdiscovery/feat-memory-cache
set memory cache by default
2 parents d70d5d6 + 88ac9a4 commit 052e3dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

http.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ func DefaultHostSprayingTransport() *http.Transport {
3131
// will be re-used for the same host(s).
3232
func DefaultReusePooledTransport() *http.Transport {
3333
opts := fastdialer.DefaultOptions
34+
opts.CacheType = fastdialer.Memory
3435
fd, _ := fastdialer.NewDialer(opts)
3536
transport := &http.Transport{
3637
Proxy: http.ProxyFromEnvironment,

0 commit comments

Comments
 (0)