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

buffered transport over sockets may run into unexpected timeouts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Delphi - Library
    • None
    • Patch Available

    Description

      The combination of sockets with buffered transport reproducibly runs into an unexpected timeout error. The cause is that buffered attempts to read more bytes than what is actually available. Since that case is not handled properly at TTcpSocketStreamImpl transport, the code will error out with an - in this case highly unexpected - timeout exception.

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: