Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2624

protocol-okhttp resource leak

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.15
    • Fix Version/s: 1.15
    • Component/s: protocol
    • Labels:
      None

      Description

      The protocol-okhttp leaks response streams as logged by okhttp3.ConnectionPool:

      WARNING: A connection to ... was leaked. Did you forget to close a response body?
      

      This has been introduced in commit f598db7 - need to catch the IOException and close the response, then re-throw so that FetcherThread can handle the exception.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                snagel Sebastian Nagel
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: