[
https://issues.apache.org/jira/browse/THRIFT-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz resolved THRIFT-1870.
------------------------------------------
Resolution: Fixed
[lib/cpp/src/thrift/transport/TPipe.cpp|https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/transport/TPipe.cpp]
carries both the Windows and POSIX implementations (platform-conditional
paths), giving cross-platform pipe support. Resolving as Fixed.
> Enhance TPipe / TPipeServer transport to support both Windows 64-bit and
> cross-platform *NIX support
> ----------------------------------------------------------------------------------------------------
>
> Key: THRIFT-1870
> URL: https://issues.apache.org/jira/browse/THRIFT-1870
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.9
> Environment: Windows, *NIX
> Reporter: Peace C
> Priority: Major
> Attachments: TPipe_64bit_xplatform.patch
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)