[ https://issues.apache.org/jira/browse/AXIS2-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826877#comment-15826877 ]
Hudson commented on AXIS2-4021: ------------------------------- UNSTABLE: Integrated in Jenkins build Axis2 #3648 (See [https://builds.apache.org/job/Axis2/3648/]) Clean up the mess related to how we maintain the isAllowedRetry flag. This should also fix AXIS2-4021. (veithen: rev 1779253) * (edit) axis2/modules/transport/http-hc3/src/main/java/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java * (edit) axis2/modules/transport/http-hc3/src/main/java/org/apache/axis2/transport/http/impl/httpclient3/RequestImpl.java * (edit) axis2/modules/transport/http/src/org/apache/axis2/transport/http/AbstractHTTPSender.java * (edit) axis2/modules/transport/http/src/org/apache/axis2/transport/http/AxisRequestEntity.java * (edit) axis2/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java * (edit) axis2/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient4/HTTPSenderImpl.java * (edit) axis2/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient4/RequestImpl.java > AbstractHTTPSender: changes to the isAllowRetry flag have no effect > ------------------------------------------------------------------- > > Key: AXIS2-4021 > URL: https://issues.apache.org/jira/browse/AXIS2-4021 > Project: Axis2 > Issue Type: Bug > Components: transports > Affects Versions: 1.4.1 > Environment: bug independent of environment > Reporter: Uwe Kylau > > The class org.apache.axis2.transport.http.AbstractHTTPSender contains a > boolean flag isAllowedRetry, initally set to false. > In class HTTPSender this flag is propagated to the AxisRequestEntity used by > the PostMethod (or PutMethod). > However, this is done BEFORE executeMethod(...) is called on > AbstractHTTPSender. > Part of executeMethod(...) is to retrieve the HostConfiguration, which in > turn includes processing the authentication information. > Now, the problem is that isAllowedRetry might change in > setAuthenticationInfo(...), but this change is NEVER propagated to the > AxisRequestEntity. > AxisRequestEntity does not even allow to change parameters once it has been > created. > Thanks in advance for fixing. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org