Ben Craig created THRIFT-1776:
---------------------------------

             Summary: TPipeServer should implement "listen", so that 
TServerEventHandler preServe will work right
                 Key: THRIFT-1776
                 URL: https://issues.apache.org/jira/browse/THRIFT-1776
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
         Environment: Windows
            Reporter: Ben Craig
             Fix For: 1.0


Currently, TPipeServer's named pipe half "listens" and "accepts" in acceptImpl. 
 This means that TServerEventHandler's preServe() callback will be fired before 
TPipeServer is really listening.

It shouldn't be too hard to fix this for named pipes, as there is already a 
TCreateNamedPipe method.  If that gets called in listen, it will probably fix 
this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to