Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2388

GoLang - Fix data races in simple_server and server_socket

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: Go - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The documentation for Interrupt() on server_transport states that implementations of Interrupt() should be thread safe, but the implementation in server_socket.go is not.

      My tests also found a data race in simple_server.Stop().

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              Zariel Chris Bannister
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: