Skip to content

CONFIG.data not overwritten in case of error  #2

@aagrxyz

Description

@aagrxyz

If there is an error, in the ping or status test function, the values of CONFIG.host.pingresponse and CONFIG.host.statusCode are not overwritten, falsely telling that the hosts and the website is up.

This is a serious bug.

Make a local variable and pass it to the functions, instead of using the same global array.
This way we can avoid false up results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions