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

    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

          People

            Unassigned Unassigned
            peace Peace C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: