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

Enhance TPipe / TPipeServer transport to support both Windows 64-bit and cross-platform *NIX support

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9
    • None
    • C++ - Library
    • None
    • Windows, *NIX

    Description

      This patch adds support for Windows 64-bit builds by using std::ptrdiff_t to represent Windows' pipe HANDLE. It also restores cross-platform *NIX support that was broken in THRIFT-1690.

      See contrib/transport-sample for a working cross-platform example of how to use TPipe[Server]. I tested all permutations of Win32/64-bit clients with Win32/64-bit servers and they were happy. Also tested successfully on OSX.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            peace Peace C

            Dates

              Created:
              Updated:

              Slack

                Issue deployment