erka opened a new pull request, #3458:
URL: https://github.com/apache/thrift/pull/3458

   <!-- Explain the changes in the pull request below: -->
   
   Client: go
   
   Multiple goroutines calling Close() simultaneously could result in
   sc.closed.Store() being called concurrently. Use CompareAndSwap instead
   to atomically check and set the closed flag, ensuring only the first
   caller closes the underlying net.Conn
   
   <!-- We recommend you review the checklist/tips before submitting a pull 
request. -->
   
   - [ ] Did you create an [Apache 
Jira](https://issues.apache.org/jira/projects/THRIFT/issues/) ticket? ([Request 
account here](https://selfserve.apache.org/jira-account.html), not required for 
trivial changes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to