You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2020/03/05 15:36:00 UTC
[jira] [Created] (SLING-9175) TeleporterHttpClient should set
HttpURLConnection timeouts
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)