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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • C++ - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: