[
https://issues.apache.org/jira/browse/THRIFT-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703951#comment-15703951
]
Zuocheng Liu commented on THRIFT-3989:
--------------------------------------
Thank you for your answer.
My problem is still unsolved. C++ and PHP implement the scoket transport in
different ways.
In PHP version, TSocketTransport is not existed, an alternative class is named
TServerSocket which extends TServerTransport. while TFramedTransport extends
TTransport.
TServerTransport and TTransport are very different abstract classes. So, I can
not add TFramedTransport to TServerSocket.
> PHP socket client unsupports TFramedTransport
> ---------------------------------------------
>
> Key: THRIFT-3989
> URL: https://issues.apache.org/jira/browse/THRIFT-3989
> Project: Thrift
> Issue Type: Improvement
> Components: PHP - Library
> Affects Versions: 0.7, 0.9.3, 0.10.0, 0.11.0
> Reporter: Zuocheng Liu
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> TFramedTransport for socket is unsupported.
> My C++ thrift server use TFramedTransport, While my PHP thrift client can not
> connect it.
> I have written a php class named TFramedScoketTransport to solve this problem.
> May I submit the code to the unreleased versions?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)