[ 
https://issues.apache.org/jira/browse/THRIFT-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Bannister updated THRIFT-2388:
------------------------------------

    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().

  was:
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.


> 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.Stop().



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

Reply via email to