You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2017/01/17 21:46:26 UTC

[jira] [Resolved] (AXIS2-4021) AbstractHTTPSender: changes to the isAllowRetry flag have no effect

     [ https://issues.apache.org/jira/browse/AXIS2-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-4021.
------------------------------------
       Resolution: Fixed
         Assignee: Andreas Veithen
    Fix Version/s: 1.8.0

> 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
>            Assignee: Andreas Veithen
>             Fix For: 1.8.0
>
>
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org