[
https://issues.apache.org/jira/browse/AXIS2-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964358#action_12964358
]
Andreas Veithen commented on AXIS2-4840:
----------------------------------------
As explained by Glen [1] if we use a single HttpClient instance, then we need
to explicitly pass an HttpState object to each execute() call. Otherwise the
HTTP transport will no longer be thread safe. I don't know if using a single
HttpClient instance has much added value, but if we do that (properly), then
this doesn't need to be optional, i.e. there is no need to have an additional
parameter in the transport description.
[1] http://markmail.org/message/jtjyewym6qnhjzey
> Need a way to specify weather we need to cache the HttpClient in
> CommonsHTTPTransportSender configuration
> ---------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4840
> URL: https://issues.apache.org/jira/browse/AXIS2-4840
> Project: Axis2
> Issue Type: Improvement
> Reporter: Supun Kamburugamuva
> Assignee: Supun Kamburugamuva
>
> In some scenarios it is better if we can control the HTTPClient caching using
> a parameter in the transport description. This is useful if we are using the
> transport sender using the generic Axis2 transport descriptions without going
> to the specifics of the transport.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]