Server String() function access unprotected variables

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.0.0-rc1
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The Server type's String function accesses variables from the struct which can be updated asynchronously. Fields like averageRTT should be taken from the immutable description rather than the server struct itself. connectionstate should be changed to use the atomic package so it can be loaded/stored without race conditions.

            Assignee:
            Isabella Siu (Inactive)
            Reporter:
            Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: