Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9175

TeleporterHttpClient should set HttpURLConnection timeouts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JUnit Tests Teleporter 1.0.18
    • Testing
    • None

    Description

      The teleporter client uses HttpURLConnection in several places but doesn't set timeouts on those connections.

      It should set both read + connect timeouts to avoid using the default values which as per https://stackoverflow.com/questions/45199702/httpurlconnection-timeout-defaults and https://bluxte.net/musings/2008/08/25/dont-forget-set-javaneturl-default-timeouts/ (haven't found official docs for that) is infinite.

      Attachments

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            bdelacretaz Bertrand Delacretaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: