Hans Brende created ANY23-412:
---------------------------------
Summary: HTTPClient API does not allow parallelism
Key: ANY23-412
URL: https://issues.apache.org/jira/browse/ANY23-412
Project: Apache Any23
Issue Type: Bug
Components: core
Affects Versions: 2.3
Reporter: Hans Brende
Fix For: 2.3
Although our DefaultHTTPClient using a "PoolingHttpClientConnectionManager" we
are unable to use parallelism to take advantage of this, because the
{{getActualDocumentIRI()}}, {{getContentType()}}, and {{getContentLength()}}
methods are defined on the actual http client itself, and not on a response
object, and thus, by the time they are called, their values may have changed as
a result of a different http client url request. Thus there is no way to
execute calls in parallel using a single http client.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)