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

protocol-okhttp resource leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15
    • 1.15
    • protocol
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: