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

Secure socket's avail_read function incorrectly calls into underlying socket

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: JLib
    • Labels:
      None

      Description

      When SSL_pending returns 0, this function calls underlying jsocket's avail_read. This is wrong because data on the wire doesn't always mean real data for SSL. A case of special interest is when the other end closes the connection, jsocket's avail_read returns 53, but there's actually no real data, so secure socket's function should return 0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mckellyln Mark Kelly
                Reporter:
                mayx Yanrui Ma
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: