Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3885

Regression tests SDK_API_TSNetVConn and SDK_API_TSPortDescriptor run forever

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.0
    • Component/s: TS API
    • Labels:
      None

      Description

      The regression tests SDK_API_TSNetVConn and SDK_API_TSPortDescriptor run forever. This happens because on a vanilla build proxy.config.net.defer_accept is non-zero.
      If this value is non-zero it tells the kernel on the server to notify the listening process only when the client sends any data on the socket.
      Since the client_handler code in these tests never sends any data, the server_handler is never invoked.
      Since the server_handler code is the one that sets the regression test as passed, it just runs forever.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppradhan Pushkar Pradhan
                Reporter:
                ppradhan Pushkar Pradhan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: