Options Timeout whats meaning #5211
Replies: 4 comments
-
Thanks for your submission @mnd5756242 , we'll take a look into it! :) |
Beta Was this translation helpful? Give feedback.
-
@mnd5756242 it's the global timeout that the engine will attempt to request for each protocol. You can override it within http via request annotation:
|
Beta Was this translation helpful? Give feedback.
-
@Mzack9999 In other words, the priority of @timeout is higher than that of options.Timeout. |
Beta Was this translation helpful? Give feedback.
-
Correct, for http protocol. I'm closing the issue as it seems the question has been answered. Feel free to reopen if needed. |
Beta Was this translation helpful? Give feedback.
-
type Options struct {
Timeout int
}
The Timeout in this options represents the global request time or the http request time of each template.
I set Timeout like this nuclei v3 version
options := types.DefaultOptions()
options.Timeout = 18
Beta Was this translation helpful? Give feedback.
All reactions