You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chris Bannister (JIRA)" <ji...@apache.org> on 2014/03/06 12:32:43 UTC

[jira] [Created] (THRIFT-2388) GoLang - Fix data races in simple_server and server_socket

Chris Bannister created THRIFT-2388:
---------------------------------------

             Summary: GoLang - Fix data races in simple_server and server_socket
                 Key: THRIFT-2388
                 URL: https://issues.apache.org/jira/browse/THRIFT-2388
             Project: Thrift
          Issue Type: Bug
          Components: Go - Library
    Affects Versions: 0.9.1
            Reporter: Chris Bannister
             Fix For: 0.9.2
         Attachments: 0001-Fix-data-races-in-simple_server-and-server_socket.patch

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.Close.



--
This message was sent by Atlassian JIRA
(v6.2#6252)