Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4021

AbstractHTTPSender: changes to the isAllowRetry flag have no effect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.8.0
    • Component/s: transports
    • Labels:
      None
    • Environment:
      bug independent of environment

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              veithen Andreas Veithen
              Reporter:
              uwekylau Uwe Kylau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: