emmenlau opened a new pull request #2127:
URL: https://github.com/apache/thrift/pull/2127


   This PR adds support for domain sockets for Windows. During the 
implementation I found a number of minor issues in TServerSocket and TSocket 
that I believe are improved in this PR. None of these changes should be a 
breaking change. Mostly some methods should not be called on a domain socket 
and have been excluded. Also, the variable `listening_` was set to `true` at 
the beginning of the `listen()` method but I found that this opens a small time 
window where `listening_` is true but the socket is not actually listening 
(yet).
   
   Please review and let me know if there is anything to discuss?
   
   I've tested this implementation successfully on MSVC 2017 and 2019, on 
Ubuntu 18.04 x86_64 and on MacOS 14 with XCode 11.3.
   
   - [x] I created Apache Jira Ticket 
https://issues.apache.org/jira/browse/THRIFT-5187
   - [x] If a ticket exists: Does your pull request title follow the pattern 
"THRIFT-NNNN: describe my issue"?
   - [x] Did you squash your changes to a single commit?  (not required, but 
preferred)
   - [x] Did you do your best to avoid breaking changes?  If one was needed, 
did you label the Jira ticket with "Breaking-Change"?
   - [x] If your change does not involve any code, add ` [skip ci]` at the end 
of your pull request to free up build resources.
   


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

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


Reply via email to