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:43:00 UTC
[jira] [Commented] (SLING-9175) TeleporterHttpClient should set
HttpURLConnection timeouts
[ https://issues.apache.org/jira/browse/SLING-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052272#comment-17052272 ]
Bertrand Delacretaz commented on SLING-9175:
--------------------------------------------
...and at the same time we might add DEBUG logs to the {{TeleporterHttpClient}} to help troubleshoot such things.
> 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
> Priority: Major
>
> 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)