[ 
https://issues.apache.org/jira/browse/AXIS2-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883405#action_12883405
 ] 

Glen Daniels commented on AXIS2-4751:
-------------------------------------

Jarek,

Please see http://hc.apache.org/httpclient-3.x/threading.html and 
http://hc.apache.org/httpclient-3.x/performance.html, both of which pretty 
clearly recommend sharing a single HTTPClient instance as widely as possible, 
which is part of why I implemented that solution for AXIS2-935, AXIS2-2883, etc.

I think the right solution here is to arrange for HttpState objects to be kept 
with the individual ServiceClients or ConfigurationContexts (depending on the 
scope of session management you're looking for) and passed down into the 
individual httpClient.executeMethod() calls at the end of 
AbstractHTTPSender.executeMethod().

The change you made doesn't seem to break my little test 
(http://www.mail-archive.com/[email protected]/msg47633.html), but I think 
I'm still uncomfortable with it based on earlier research...

Thoughts?

> Cookie value is always kept whatever SESSION_MAINTAIN_PROPERTY value is 
> configured
> ----------------------------------------------------------------------------------
>
>                 Key: AXIS2-4751
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4751
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>            Reporter: Ivan
>            Assignee: Jarek Gawor
>         Attachments: Axis2-475.patch
>
>
> Cookie value is always kept whatever SESSION_MAINTAIN_PROPERTY value is 
> configured

-- 
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]

Reply via email to