Bertrand Delacretaz created SLING-9175:
------------------------------------------

             Summary: TeleporterHttpClient should set HttpURLConnection timeouts
                 Key: SLING-9175
                 URL: https://issues.apache.org/jira/browse/SLING-9175
             Project: Sling
          Issue Type: Bug
          Components: Testing
    Affects Versions: JUnit Tests Teleporter 1.0.18
            Reporter: Bertrand Delacretaz


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to