[
http://opencast.jira.com/browse/MH-7555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25960#comment-25960
]
Josh Holtzman commented on MH-7555:
-----------------------------------
We can add a new method with a timeout, defaulting to infinite if none is
specified. So the current clients of this API need not change, but the Capture
Agent can make use of the new method if it helps.
HttpResponse execute(HttpUriRequest httpUriRequest, long timeout, TimeUnit
timeUnit)
> TrustedHttpClientImpl may not timeout fast enough, this could DOS other
> threads that are pooled
> -----------------------------------------------------------------------------------------------
>
> Key: MH-7555
> URL: http://opencast.jira.com/browse/MH-7555
> Project: Matterhorn Project
> Issue Type: Sub-Task
> Components: Architecture & Services, Capture (Devices and Software)
> Affects Versions: 1.1
> Reporter: Christopher Brooks
> Assignee: Josh Holtzman
> Fix For: 1.1 , April 2011 Iteration
>
>
> The socket timeout on the DefaultHttpClient underlying the
> TrustedHttpClientImpl is currently infinite. We could set this to something
> else to potentially improve reliability, it's possible for the parent bug
> that the timeout is causing our quartz to lock up as there are not enough
> threads to service upcoming jobs.
> See
> http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/index.html?org/apache/http/params/CoreConnectionPNames.html
>
> Question: How do we best do this without changing it for others? What's a
> reasonable level?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________