You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ben Craig (JIRA)" <ji...@apache.org> on 2013/08/28 22:32:53 UTC

[jira] [Assigned] (THRIFT-1776) TPipeServer should implement "listen", so that TServerEventHandler preServe will work right

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

Ben Craig reassigned THRIFT-1776:
---------------------------------

    Assignee: Ben Craig
    
> 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
>            Assignee: 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