thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tyzual (JIRA)" <>
Subject [jira] [Created] (THRIFT-4115) FramedTransport doesn't work in cocoa library
Date Mon, 13 Mar 2017 05:01:04 GMT
tyzual created THRIFT-4115:

             Summary: FramedTransport doesn't work in cocoa library
                 Key: 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

View raw message