Skip to content

Commit a8c8645

Browse files
committed
remove init
1 parent 49a0ffe commit a8c8645

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

pkg/protocols/common/protocolinit/init.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"github.com/projectdiscovery/nuclei/v3/pkg/js/compiler"
55
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/common/protocolstate"
66
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/dns/dnsclientpool"
7-
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/http/httpclientpool"
87
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/http/signerpool"
98
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/network/networkclientpool"
109
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/whois/rdapclientpool"
@@ -20,9 +19,6 @@ func Init(options *types.Options) error {
2019
if err := dnsclientpool.Init(options); err != nil {
2120
return err
2221
}
23-
if err := httpclientpool.Init(options); err != nil {
24-
return err
25-
}
2622
if err := signerpool.Init(options); err != nil {
2723
return err
2824
}

pkg/protocols/http/httpclientpool/clientpool.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ import (
2828
urlutil "github.com/projectdiscovery/utils/url"
2929
)
3030

31-
// Init initializes the clientpool implementation
32-
func Init(options *types.Options) error {
33-
return nil
34-
}
35-
3631
// ConnectionConfiguration contains the custom configuration options for a connection
3732
type ConnectionConfiguration struct {
3833
// DisableKeepAlive of the connection

0 commit comments

Comments
 (0)