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

unexpected Timeout exception when desired bytes are only partially available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • Delphi - Library
    • None
    • Delphi XE6 on Windows 7

    • Important

    Description

      TBinaryProtocolImpl.ReadMessageBegin can raise a TTransportException. This happens with big result data. TTcpSocketStreamImpl.Read will raise a 'Process successfully finished' exception.
      I think the problem is in TTcpSocketStreamImpl.WaitForData: retVal is bigger than DesiredBytes. Exists here a probleme with intermediate chunks?

      Attachments

        1. thriftTest.zip
          36 kB
          Petter Christian
        2. THRIFT-3229-unexpected-Timeout-exception-when-desire.patch
          4 kB
          Jens Geyer

        Activity

          People

            jensg Jens Geyer
            christian.petter Petter Christian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: