Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-beta1
    • Fix Version/s: 4.0-beta2
    • Labels:
      None

      Description

      The IO workers throw an "java.lang.IllegalArgumentException: HTTP request may not be null" in the worker thread when the maximum number of connections / total or route is reached. It would be much more practical if the exception was throw when in the execute method.

        Activity

        Hide
        Erik Byström added a comment -

        Modification of the AsyncExchange example that illustrates the problem.

        Show
        Erik Byström added a comment - Modification of the AsyncExchange example that illustrates the problem.
        Hide
        Oleg Kalnichevski added a comment -

        It tuned out to be a fairly nasty problem that may require some changes in HttpCore API. I am working on it.

        Oleg

        Show
        Oleg Kalnichevski added a comment - It tuned out to be a fairly nasty problem that may require some changes in HttpCore API. I am working on it. Oleg
        Hide
        Oleg Kalnichevski added a comment -

        Fixed in SVN trunk. Please review / re-test.

        Oleg

        Show
        Oleg Kalnichevski added a comment - Fixed in SVN trunk. Please review / re-test. Oleg
        Hide
        Erik Byström added a comment -

        Now it works as expected, thanks!

        Show
        Erik Byström added a comment - Now it works as expected, thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            Erik Byström
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development