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)