[
https://issues.apache.org/jira/browse/THRIFT-4335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170967#comment-16170967
]
Zach Wasserman commented on THRIFT-4335:
----------------------------------------
I also wonder whether we could pass the {{net.Conn}} provided by {{go-winio}}
to {{NewTSocketFromConnTimeout}}
(https://godoc.org/git.apache.org/thrift.git/lib/go/thrift#NewTSocketFromConnTimeout)?
I will experiment with this, but I would be very curious to hear opinions on
whether it might work.
> Golang TPipe Windows implementation
> -----------------------------------
>
> Key: THRIFT-4335
> URL: https://issues.apache.org/jira/browse/THRIFT-4335
> Project: Thrift
> Issue Type: Improvement
> Components: Go - Library
> Reporter: Zach Wasserman
>
> We are interested in adding support for the TPipe transport in the Golang
> Windows library. This support already exists in the C++ library
> (https://thrift.apache.org/lib/cpp#named-pipes), and is useful for an
> alternative to TCP on Windows. Would the maintainers be interested in merging
> a patch adding this functionality?
> Microsoft publishes an (MIT licensed) library that provides {{net.Conn}}
> support for named pipes
> (https://github.com/Microsoft/go-winio/blob/master/pipe.go#L138,
> https://github.com/Microsoft/go-winio/blob/master/pipe.go#L317). Is it
> possible to add this as a dependency for the Thrift Go library?
> Any guidance would be appreciated, as I'd love to start implementing it ASAP.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)