Skip to content

Cache: Design: Server replies early with UNKNOWN rather than running the detectors synchronously. #39

Open
@josdejong

Description

@josdejong

I noticed that when using both vulnRegexDetector.test and vulnRegexDetector.testSync, testing a new regexp always returns UNKNOWN the first few times, and only after a minute or so it returns VULNERABLE or SAFE. It would be nice if the library simply waits until the server knows the result and only then return it, right now I cannot reliably use the library in automated unit tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions