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

AbstractHTTPSender: changes to the isAllowRetry flag have no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1
    • 1.8.0
    • transports
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: