Skip to content

No graceful shutdown i.e. no way to stop naabu from scanning except killing the process #698

@a-urth

Description

@a-urth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: CompletedNothing 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.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions