Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22156

secure socket readtms doesn't throw an exception if nothing read and min_size>0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.14
    • Fix Version/s: 7.2.16
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:
      160 cluster

      Description

      Calls to read of a secure socket (readtms) can fail to return any data and fail to fire exception if min_size > 0.

      The jsocket ISocket implementation will fire a JSOCKERR_graceful_close if min_size > 0 in these circumstances.

      As a consequence of this issue, code that loops reading with a min_size>0 (and doesn't check return is 0, because it expects min_size or exception), loops forever.
      Details of the event that initially cause this issue to reported at in the related issue (HPCC-22103)

      Original report:

      ECL Watch dropzone does not show any of the files and folders every so often without a restart of the esp.  It seems that this would be a great inconvenience in a busier environment like Dataland or Production.

      Kevin Wang Stuart Ort Lorraine Chapman Miguel Vazquez Kunal Aswani

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mayx Yanrui Ma
                Reporter:
                cloln Chris Lo
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: