Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1776

TPipeServer should implement "listen", so that TServerEventHandler preServe will work right

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:
      None
    • Environment:

      Windows

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ben.craig Ben Craig
              Reporter:
              ben.craig Ben Craig
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: