mirror of https://github.com/daffainfo/nuclei.git
network layer should not have forceful read
parent
7647af1722
commit
a0216e4cc9
|
@ -336,7 +336,7 @@ func (request *Request) executeRequestWithPayloads(variables map[string]interfac
|
|||
final, err := ConnReadNWithTimeout(conn, int64(bufferSize), DefaultReadTimeout)
|
||||
if err != nil {
|
||||
request.options.Output.Request(request.options.TemplatePath, address, request.Type().String(), err)
|
||||
return errors.Wrap(err, "could not read from server")
|
||||
gologger.Verbose().Msgf("could not read more data from %s: %s", actualAddress, err)
|
||||
}
|
||||
responseBuilder.Write(final)
|
||||
|
||||
|
|
Loading…
Reference in New Issue