Misc output fix

dev
Ice3man543 2021-10-18 20:34:26 +05:30
parent b01dd81d84
commit 6e7318bcba
1 changed files with 6 additions and 0 deletions

View File

@ -164,6 +164,9 @@ func (request *Request) executeTurboHTTP(reqURL string, dynamicValues, previous
if err == io.EOF {
break
}
if reqURL == "" {
reqURL = generatedHttpRequest.URL()
}
if err != nil {
request.options.Progress.IncrementFailedRequestsBy(int64(generator.Total()))
return err
@ -219,6 +222,9 @@ func (request *Request) ExecuteWithResults(reqURL string, dynamicValues, previou
if err == io.EOF {
break
}
if reqURL == "" {
reqURL = generatedHttpRequest.URL()
}
if err != nil {
request.options.Progress.IncrementFailedRequestsBy(int64(generator.Total()))
return err