It focuses on adding the context package to the API. This will hopefully help make SubFinder's code extra efficient for server-side use, by allowing for the deliberating cancelation of the execution of any sources during the enumeration process.
This is useful for cases like rate-limiting wherein we are only interested in enumerating 1000 domains as a free server, and want to be able to deliberately stop enumerating and have the code cleanup after itself efficiently.
This is a pretty big PR.
It focuses on adding the
context
package to the API. This will hopefully help make SubFinder's code extra efficient for server-side use, by allowing for the deliberating cancelation of the execution of any sources during the enumeration process.This is useful for cases like rate-limiting wherein we are only interested in enumerating
1000
domains as a free server, and want to be able to deliberately stop enumerating and have the code cleanup after itself efficiently.