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

GoLang - Fix data races in simple_server and server_socket

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • Go - Library
    • None
    • 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

            jensg Jens Geyer
            zariel Chris Bannister
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: