Skip to content

derp/derpserver: data race in expvar metrics #19030

@bradfitz

Description

@bradfitz

derp/derpserver/derpserver.go has an expVarFunc helper to handle Server mutex locking/unlocking for expvar.Funcs, but a couple metrics don't use it and thus have data races.

Thanks to Khaled M. Alshammri for the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions