Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1, 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: HttpClient
    • Labels:
      None
    • Environment:
      All

      Description

      Class org.apache.http.impl.client.DefaultRequestDirector has a bug whereby when Authentication fails if the log is not warnEnabled then you will receive a retry request and end up in an infinite loop retrying requests.. This occurred for me when SL4J was being picked up as the implementation but not properly configured.

      In 4.1.2 the line number of the offending code is in the handleResponse method, line 1126, the return null statement requires moving outside of the if statement that checkes if the log is warn enabled.

        Activity

        Hide
        Oleg Kalnichevski added a comment -

        Fixed in the 4.1.x branch. The trunk does not seem to be affected.

        Oleg

        Show
        Oleg Kalnichevski added a comment - Fixed in the 4.1.x branch. The trunk does not seem to be affected. Oleg

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcus Bond
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development