You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "tyzual (JIRA)" <ji...@apache.org> on 2017/03/13 05:01:04 UTC
[jira] [Created] (THRIFT-4115) FramedTransport doesn't work in
cocoa library
tyzual created THRIFT-4115:
------------------------------
Summary: FramedTransport doesn't work in cocoa library
Key: THRIFT-4115
URL: https://issues.apache.org/jira/browse/THRIFT-4115
Project: Thrift
Issue Type: Bug
Components: Cocoa - Library
Affects Versions: 0.10.0
Reporter: tyzual
TFramedTransport doesn't reset readOffset property, which will cause the second and later functions called on a service fail.
set readOffset to zero in readFrame function after line
'if (![_transport readAll:_readBuffer.mutableBytes offset:0 length:size error:error]) ...'
seems to work. But I don't know if there is a side effect.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)