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

        Marcus Bond created issue -
        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
        Oleg Kalnichevski made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.1.3 [ 12317840 ]
        Resolution Fixed [ 1 ]
        Oleg Kalnichevski made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        5h 52m 1 Oleg Kalnichevski 26/Oct/11 19:45
        Resolved Resolved Closed Closed
        710d 56m 1 Oleg Kalnichevski 05/Oct/13 20:41

          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