[Issue] Timeout flag does not work consistently
Describe the bug
When running Subfinder the -timeout option does not work for every run.
Subfinder version latest: v2.7.0
Complete command you used to reproduce this
subfinder -d erlang.org -timeout 5
Screenshots
Seems related https://github.com/projectdiscovery/subfinder/issues/872
Any update here?
We'll look into this
Hi, is anyone currently working on this? If not, I’d like to take a shot at fixing it.
@oxqnd That would be great! Please let me know if you need any assistance.
Hi @dogancanbakir , I’ve submitted PR #1629 to address this. The -timeout flag now applies a global context timeout using context.WithTimeout, which ensures the entire enumeration respects the configured limit. Let me know if any changes are needed. Thanks!