-
Notifications
You must be signed in to change notification settings - Fork 668
No graceful shutdown i.e. no way to stop naabu from scanning except killing the process #698
Copy link
Copy link
Closed
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone
Description
Naabu version:
v2, using as library
Current Behavior:
Naabu upon call to RunEnumeration spawns bunch of workers to perform scanning in background and blocks until it finishes. Using it as a library with other operations running in background (like processing any other form of input) there is no way to stop it except killing process which it running in.
Expected Behavior:
There should blocking method Stop in case naabu is running concurrently with other goroutines which will gracefully stop all workers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.