mirror of
https://github.com/chainreactors/spray.git
synced 2026-10-28 19:40:49 +00:00
fix brutepool baseurl bug
This commit is contained in:
1 parent
ce3410ceea
commit
ac4db276a2
1 file changed
+1
-1
@@ -268,7 +268,7 @@ func (pool *BrutePool) Invoke(v interface{}) {
|
||||
var req *ihttp.Request
|
||||
var err error
|
||||
|
||||
req, err = ihttp.BuildRequest(pool.ctx, pool.ClientType, pool.BaseURL, unit.path, unit.host, pool.Method)
|
||||
req, err = ihttp.BuildRequest(pool.ctx, pool.ClientType, pool.base, unit.path, unit.host, pool.Method)
|
||||
if err != nil {
|
||||
logs.Log.Error(err.Error())
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user