Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4115

FramedTransport doesn't work in cocoa library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 0.10.0
    • 0.13.0
    • Cocoa - Library
    • None

    Description

      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.

      Attachments

        Activity

          People

            jking3 James E. King III
            tyzual tyzual
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: