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

unexpected Timeout exception when desired bytes are only partially available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.3
    • Component/s: Delphi - Library
    • Labels:
      None
    • Environment:

      Delphi XE6 on Windows 7

    • Flags:
      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. THRIFT-3229-unexpected-Timeout-exception-when-desire.patch
          4 kB
          Jens Geyer
        2. thriftTest.zip
          36 kB
          Petter Christian

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: